Skip to content

Commit 6acb6b9

Browse files
committed
use builder right away
1 parent 3a816f9 commit 6acb6b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -880,16 +880,16 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned builtinID,
880880
case X86::BI__builtin_ia32_prolq128:
881881
case X86::BI__builtin_ia32_prolq256:
882882
case X86::BI__builtin_ia32_prolq512:
883-
return emitX86FunnelShift(this->getBuilder(), getLoc(expr->getExprLoc()),
884-
ops[0], ops[0], ops[1], false);
883+
return emitX86FunnelShift(builder, getLoc(expr->getExprLoc()), ops[0],
884+
ops[0], ops[1], false);
885885
case X86::BI__builtin_ia32_prord128:
886886
case X86::BI__builtin_ia32_prord256:
887887
case X86::BI__builtin_ia32_prord512:
888888
case X86::BI__builtin_ia32_prorq128:
889889
case X86::BI__builtin_ia32_prorq256:
890890
case X86::BI__builtin_ia32_prorq512:
891-
return emitX86FunnelShift(this->getBuilder(), getLoc(expr->getExprLoc()),
892-
ops[0], ops[0], ops[1], true);
891+
return emitX86FunnelShift(builder, getLoc(expr->getExprLoc()), ops[0],
892+
ops[0], ops[1], true);
893893
case X86::BI__builtin_ia32_selectb_128:
894894
case X86::BI__builtin_ia32_selectb_256:
895895
case X86::BI__builtin_ia32_selectb_512:

0 commit comments

Comments
 (0)