Skip to content

Commit 8527cb5

Browse files
committed
use builder right away
1 parent b2bfd33 commit 8527cb5

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
@@ -729,16 +729,16 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned builtinID,
729729
case X86::BI__builtin_ia32_prolq128:
730730
case X86::BI__builtin_ia32_prolq256:
731731
case X86::BI__builtin_ia32_prolq512:
732-
return emitX86FunnelShift(this->getBuilder(), getLoc(expr->getExprLoc()),
733-
ops[0], ops[0], ops[1], false);
732+
return emitX86FunnelShift(builder, getLoc(expr->getExprLoc()), ops[0],
733+
ops[0], ops[1], false);
734734
case X86::BI__builtin_ia32_prord128:
735735
case X86::BI__builtin_ia32_prord256:
736736
case X86::BI__builtin_ia32_prord512:
737737
case X86::BI__builtin_ia32_prorq128:
738738
case X86::BI__builtin_ia32_prorq256:
739739
case X86::BI__builtin_ia32_prorq512:
740-
return emitX86FunnelShift(this->getBuilder(), getLoc(expr->getExprLoc()),
741-
ops[0], ops[0], ops[1], true);
740+
return emitX86FunnelShift(builder, getLoc(expr->getExprLoc()), ops[0],
741+
ops[0], ops[1], true);
742742
case X86::BI__builtin_ia32_selectb_128:
743743
case X86::BI__builtin_ia32_selectb_256:
744744
case X86::BI__builtin_ia32_selectb_512:

0 commit comments

Comments
 (0)