From b7fd4f1221c9341e66892c824b476e12f594736f Mon Sep 17 00:00:00 2001 From: Ahmed Harmouche Date: Sat, 12 Oct 2024 22:11:16 +0200 Subject: [PATCH] Fix buildIntConst param name --- include/CodeGen/MLIRCodeGen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/CodeGen/MLIRCodeGen.h b/include/CodeGen/MLIRCodeGen.h index 4348e74..7b44187 100644 --- a/include/CodeGen/MLIRCodeGen.h +++ b/include/CodeGen/MLIRCodeGen.h @@ -119,7 +119,7 @@ class MLIRCodeGen : public ASTVisitor { mlir::Value currentBasePointer; mlir::Value convertOp(ConstructorExpression* constructorExp, mlir::Value val); mlir::Value buildBoolConst(bool val); - mlir::Value buildIntConst(uint32_t val, bool isUnsigned); + mlir::Value buildIntConst(uint32_t val, bool isSigned); mlir::Value buildFloatConst(double val, bool isDouble); mlir::Value buildVecConst(mlir::Value constant, mlir::Type type); };