Skip to content

Commit e9c06c9

Browse files
committed
[AArch64] AArch64::ADCWr and friends map to their sForm, but their sForms do not map to themselves
Fix this inconsistency.
1 parent ba4babe commit e9c06c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/lib/Target/AArch64/AArch64InstrInfo.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,6 +1790,10 @@ static unsigned sForm(MachineInstr &Instr) {
17901790
case AArch64::BICSXrr:
17911791
case AArch64::BICSWrs:
17921792
case AArch64::BICSXrs:
1793+
case AArch64::ADCSWr:
1794+
case AArch64::ADCSXr:
1795+
case AArch64::SBCSWr:
1796+
case AArch64::SBCSXr:
17931797
return Instr.getOpcode();
17941798

17951799
case AArch64::ADDWrr:

0 commit comments

Comments
 (0)