Skip to content

Commit 303e648

Browse files
committed
[X86][NFC] Remove dead code for "_REV" instructions
ADC/SBB with reverse encoding is never emitted by compiler before encoding optimization, which is called after flag-copy lowering. This is a partial reland for 8bbf100
1 parent a7a1b8b commit 303e648

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Target/X86/X86FlagsCopyLowering.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ static FlagArithMnemonic getMnemonicFromOpcode(unsigned Opcode) {
173173

174174
#define LLVM_EXPAND_ADC_SBB_INSTR(MNEMONIC) \
175175
LLVM_EXPAND_INSTR_SIZES(MNEMONIC, rr) \
176-
LLVM_EXPAND_INSTR_SIZES(MNEMONIC, rr_REV) \
177176
LLVM_EXPAND_INSTR_SIZES(MNEMONIC, rm) \
178177
LLVM_EXPAND_INSTR_SIZES(MNEMONIC, mr) \
179178
case X86::MNEMONIC##8ri: \

0 commit comments

Comments
 (0)