This is an archive of the discontinued LLVM Phabricator instance.

[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
"constrained unpredictable" when SP is used as the source register Rn.

The assembler should diagnose this case.

Diff Detail

Event Timeline

miyuki created this revision.Jul 31 2019, 3:47 AM
This revision is now accepted and ready to land.Jul 31 2019, 6:58 AM
This revision was automatically updated to reflect the committed changes.