[PATCH] D56008: [ARM] Alter the register allocation order for optsize on Thumb2
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 21 12:38:34 PST 2019
efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.
I guess this is fine as an incremental change. LGTM
================
Comment at: lib/Target/ARM/ARMRegisterInfo.td:274
+ return 2;
+ if (MF.getSubtarget<ARMSubtarget>().isThumb2() && MF.getFunction().optForMinSize())
+ return 0;
----------------
80 cols.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56008/new/
https://reviews.llvm.org/D56008
More information about the llvm-commits
mailing list