================
@@ -1965,7 +1965,7 @@ mlir::LogicalResult
CIRToLLVMAllocaOpLowering::matchAndRewrite(
? adaptor.getDynAllocSize()
: mlir::LLVM::ConstantOp::create(
rewriter, op.getLoc(),
- typeConverter->convertType(rewriter.getIndexType()), 1);
+ typeConverter->convertType(rewriter.getI32Type()), 1);
----------------
erichkeane wrote:
Hmm... that is a strange solution to that... but I guess it doesn't really
matter here since we are only doing this when it is '1', so its not
particularly problematic.
https://github.com/llvm/llvm-project/pull/215638
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits