Skip to content

Commit

Permalink
Revert "[X86][NFC] Remove dead code in TD for ADCX/ADOX"
Browse files Browse the repository at this point in the history
This reverts commit 3ce43f1.

It caused MC/Disassembler/X86/x86-64.txt to fail.
  • Loading branch information
KanRobert committed Aug 14, 2023
1 parent 3ce43f1 commit f450fc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/lib/Target/X86/X86InstrArithmetic.td
Original file line number Diff line number Diff line change
Expand Up @@ -1365,11 +1365,13 @@ let Predicates = [HasBMI2] in {
class ADCOXOpRR <bits<8> opcode, string mnemonic, X86TypeInfo info>
: BinOpRR_C<opcode, MRMSrcReg, mnemonic, info, []>{
let Opcode = opcode;
let OpSize = OpSizeFixed;
}

class ADCOXOpRM <bits<8> opcode, string mnemonic, X86TypeInfo info>
: BinOpRM_C<opcode, MRMSrcMem, mnemonic, info, []>{
let Opcode = opcode;
let OpSize = OpSizeFixed;
}

let Predicates = [HasADX], Defs = [EFLAGS], Uses = [EFLAGS],
Expand Down

0 comments on commit f450fc3

Please sign in to comment.