Thumb2 supports encoding immediates with specific patterns into mov.w by splatting the low 8 bits into other bytes.
Details
Details
- Reviewers
bruno jmolloy john.brawn - Commits
- rGf68a6a720cbe: [ARM] Constant Materialize: imms with specific value can be encoded into mov.w
rG57dc4cf0e1dc: [ARM] Constant Materialize: imms with specific value can be encoded into mov.w
rL277865: [ARM] Constant Materialize: imms with specific value can be encoded into mov.w
rL277610: [ARM] Constant Materialize: imms with specific value can be encoded into mov.w
Diff Detail
Diff Detail
Event Timeline
Comment Actions
The original test case doesn't explicitly specify triple. On my build for arm-linux, the original test is OK.
But for apple triple, the behavior is different for O0 and default opt level.