Skip to content

Commit f662adc

Browse files
Update X86FixupInstTuning.cpp
1 parent 00123b3 commit f662adc

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

llvm/lib/Target/X86/X86FixupInstTuning.cpp

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -234,18 +234,10 @@ bool X86FixupInstTuningPass::processInstruction(
234234
};
235235

236236
switch (Opc) {
237-
case X86::VBLENDPSrri: {
238-
int Imm = MI.getOperand(NumOperands - 1).getImm();
239-
if (Imm != 1)
240-
return false;
237+
case X86::VBLENDPSrri:
241238
return ProcessBLENDToMOV(X86::VMOVSSrr);
242-
}
243-
case X86::VBLENDPDrri: {
244-
int Imm = MI.getOperand(NumOperands - 1).getImm();
245-
if (Imm != 1)
246-
return false;
239+
case X86::VBLENDPDrri:
247240
return ProcessBLENDToMOV(X86::VMOVSDrr);
248-
}
249241
case X86::VPERMILPDri:
250242
return ProcessVPERMILPDri(X86::VSHUFPDrri);
251243
case X86::VPERMILPDYri:

0 commit comments

Comments
 (0)