SubzeroReactor: fix assertion !isVectorType(Ty)

This assert happens when legalizing the operand of an InstAlloca, which
comes from when we want to allocate an IceType_v4f32 on the stack. The
ConstantInteger32 we create has the wrong type, and Subzero asserts.

Bug: b/130459196
Change-Id: I43bd5e516dcd549f5fd35a62ee97cef284a9e656
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/38870
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Tested-by: Antonio Maiorano <amaiorano@google.com>
diff --git a/src/Reactor/SubzeroReactor.cpp b/src/Reactor/SubzeroReactor.cpp
index 0a93e27..78d0b9a 100644
--- a/src/Reactor/SubzeroReactor.cpp
+++ b/src/Reactor/SubzeroReactor.cpp
@@ -716,7 +716,7 @@
 		int typeSize = Ice::typeWidthInBytes(type);
 		int totalSize = typeSize * (arraySize ? arraySize : 1);
 
-		auto bytes = Ice::ConstantInteger32::create(::context, type, totalSize);
+		auto bytes = Ice::ConstantInteger32::create(::context, Ice::IceType_i32, totalSize);
 		auto address = ::function->makeVariable(T(getPointerType(t)));
 		auto alloca = Ice::InstAlloca::create(::function, address, bytes, typeSize);
 		::function->getEntryNode()->getInsts().push_front(alloca);