According to the Armv8.1-M manual CSEL, CSINC, CSINV and CSNEG are
"constrained unpredictable" when SP is used as the source register Rn.
The assembler should diagnose this case.
Paths
| Differential D65505
[ARM] Reject CSEL instructions with invalid operands ClosedPublic Authored by miyuki on Jul 31 2019, 3:47 AM.
Details Summary According to the Armv8.1-M manual CSEL, CSINC, CSINV and CSNEG are The assembler should diagnose this case.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jul 31 2019, 6:58 AM Closed by commit rL367433: [ARM] Reject CSEL instructions with invalid operands (authored by miyuki). · Explain WhyJul 31 2019, 7:23 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 212546 llvm/lib/Target/ARM/ARMInstrThumb2.td
llvm/test/MC/ARM/thumbv8.1m.s
llvm/test/MC/Disassembler/ARM/thumbv8.1m.s
|