summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/minsize-imms.ll
Commit message (Collapse)AuthorAgeFilesLines
* ARM: use litpools for normal i32 imms when compiling minsize.Tim Northover2014-01-231-0/+57
With constant-sharing, litpool loads consume 4 + N*2 bytes of code, but movw/movt pairs consume 8*N. This means litpools are better than movw/movt even with just one use. Other materialisation strategies can still be better though, so the logic is a little odd. llvm-svn: 199891
OpenPOWER on IntegriCloud