[PATCH] ARM: use lit-pools for global variables on "minsize" functions
Tim Northover
t.p.northover at gmail.com
Mon Dec 2 05:57:49 PST 2013
================
Comment at: lib/Target/ARM/ARMSubtarget.h:335
@@ -329,3 +334,3 @@
- bool useMovt() const { return UseMovt && hasV6T2Ops(); }
+ bool useMovt() const { return UseMovt && !isMinSize(); }
bool supportsTailCall() const { return SupportsTailCall; }
----------------
Oh, just a note that the code setting "UseMovt" already contains a check for hasV6T2Ops() so this should be benign.
http://llvm-reviews.chandlerc.com/D2305
More information about the llvm-commits
mailing list