diff options
author | James Molloy <james.molloy@arm.com> | 2016-10-17 12:54:07 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2016-10-17 12:54:07 +0000 |
commit | aa79b19a3e8ba5099f6fb5843e7e8cd3f44bd5ef (patch) | |
tree | 4051488e7e83fe93dbfda20e32f9934488606484 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | ecbcd7ca11005fbb8a314d92b7abc79750a78274 (diff) | |
download | bcm5719-llvm-aa79b19a3e8ba5099f6fb5843e7e8cd3f44bd5ef.tar.gz bcm5719-llvm-aa79b19a3e8ba5099f6fb5843e7e8cd3f44bd5ef.zip |
[SDAG] Use ABI type alignment for constant pools when optimizing for size
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions