This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Constant Materialize: imms with specific value can be encoded into mov.w
ClosedPublic

Authored by weimingz on Aug 2 2016, 3:35 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

weimingz updated this revision to Diff 66573.Aug 2 2016, 3:35 PM
weimingz retitled this revision from to [ARM] Constant Materialize: imms with specific value can be encoded into mov.w.
weimingz updated this object.
weimingz set the repository for this revision to rL LLVM.
weimingz added a subscriber: llvm-commits.
jmolloy accepted this revision.Aug 3 2016, 12:21 AM
jmolloy added a reviewer: jmolloy.
jmolloy added a subscriber: jmolloy.

LGTM, thanks!

This revision is now accepted and ready to land.Aug 3 2016, 12:21 AM
This revision was automatically updated to reflect the committed changes.
weimingz updated this revision to Diff 66735.Aug 3 2016, 4:36 PM
weimingz edited edge metadata.

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.