Skip to content

Commit 445b348

Browse files
committed
use mlir::Value instead of auto
1 parent 09fdde1 commit 445b348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ static RValue emitBuiltinBitOp(
147147
} else {
148148
op = CGF.getBuilder().create<Op>(CGF.getLoc(E->getExprLoc()), arg);
149149
}
150-
const auto bitResult = op.getResult();
150+
const mlir::Value bitResult = op.getResult();
151151
if (const auto si32Ty = CGF.getBuilder().getSInt32Ty();
152152
convert_to_int && arg.getType() != si32Ty) {
153153
return RValue::get(CGF.getBuilder().createIntCast(bitResult, si32Ty));

0 commit comments

Comments
 (0)