Skip to content

Commit b5926a9

Browse files
committed
backup
1 parent 84b8a60 commit b5926a9

File tree

3 files changed

+36
-380
lines changed

3 files changed

+36
-380
lines changed

clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,14 +687,14 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned builtinID,
687687
case X86::BI__builtin_ia32_prolq128:
688688
case X86::BI__builtin_ia32_prolq256:
689689
case X86::BI__builtin_ia32_prolq512:
690-
return emitX86FunnelShift(*this, expr, ops[0], ops[1], ops[1], false);
690+
return emitX86FunnelShift(*this, expr, ops[0], ops[0], ops[1], false);
691691
case X86::BI__builtin_ia32_prord128:
692692
case X86::BI__builtin_ia32_prord256:
693693
case X86::BI__builtin_ia32_prord512:
694694
case X86::BI__builtin_ia32_prorq128:
695695
case X86::BI__builtin_ia32_prorq256:
696696
case X86::BI__builtin_ia32_prorq512:
697-
return emitX86FunnelShift(*this, expr, ops[0], ops[1], ops[1], true);
697+
return emitX86FunnelShift(*this, expr, ops[0], ops[0], ops[1], true);
698698
case X86::BI__builtin_ia32_selectb_128:
699699
case X86::BI__builtin_ia32_selectb_256:
700700
case X86::BI__builtin_ia32_selectb_512:

0 commit comments

Comments
 (0)