Similar to the ARM target in https://reviews.llvm.org/rL298380, this
patch adds identical infrastructure for disabling negative immediate
conversions, and converts the existing aliases to the new infrastucture.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 5104 Build 5104: arc lint + arc unit
Event Timeline
Comment Actions
Hi Sanne,
I think just the testing needs tightening up. Should we also be changing (and testing) the compare immediate aliases too?
cheers,
sam
test/MC/AArch64/alias-addsubimm.s | ||
---|---|---|
6 | There's no RUN line that checks CHECK-NO-NEG-IMM. |
Comment Actions
Hi Sam,
Good catches on both accounts! I've added the missing RUN line, which then pointed towards the cmp<->cmn substitution. Note that those tests are at the bottom of the (unfortunately-named) alias-addsubimm.s.
Thanks!
Sanne
There's no RUN line that checks CHECK-NO-NEG-IMM.