The constant pool used in r211605 for implementing the "ldr <reg>, =..." pseudo instruction uses only 32 bit constants.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
Event Timeline
Comment Actions
It's not clear to me how this change improves the test. Rather than just renaming, I think it would be better to
- Add tests for moving 32-bit constants to w registers
- Add tests for moving 64-bit constants to x registers
- Add tests for moving 64-bit constants to w registers (should produce an error).
Comment Actions
I will change and squash this patch into http://reviews.llvm.org/D4279
I'm not sure if erroring for size mismatches is possible in all cases though.