summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/constantpool-align.ll
Commit message (Collapse)AuthorAgeFilesLines
* [SDAG] Use ABI type alignment for constant pools when optimizing for sizeJames Molloy2016-10-171-0/+19
SelectionDAG::getConstantPool will automatically determine an appropriate alignment if one is not specified. It does this by querying the type's preferred alignment. This can end up creating quite a lot of padding when the preferred alignment for vectors is 128. In optimize-for-size mode, it makes sense to instead query the ABI type alignment which is often smaller and causes less padding. llvm-svn: 284381
OpenPOWER on IntegriCloud