This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Pass subtarget feature "+dont-use-movt" instead of passing backend option "-arm-use-movt"
ClosedPublic

Authored by ahatanak on Jul 7 2015, 7:38 PM.

Details

Summary

Currently, clang uses backend-option "-arm-use-movt=0" to disallow emitting movt/movw pairs to materialize 32-bit immediate values. This patch makes changes to pass subtarget feature "+dont-use-movt" instead to enable disallowing movt/movw pairs when doing LTO.

Diff Detail

Event Timeline

ahatanak updated this revision to Diff 29232.Jul 7 2015, 7:38 PM
ahatanak retitled this revision from to [ARM] Pass subtarget feature "+dont-use-movt" instead of passing backend option "-arm-use-movt".
ahatanak updated this object.
ahatanak added reviewers: echristo, dexonsmith.
ahatanak added a subscriber: cfe-commits.
This revision was automatically updated to reflect the committed changes.