commit | 770516eb32dcca770868a6d8ea74393c16ba4674 | [log] [tgz] |
---|---|---|
author | Eli Friedman <efriedma@codeaurora.org> | Fri Sep 28 20:21:51 2018 +0000 |
committer | Eli Friedman <efriedma@codeaurora.org> | Fri Sep 28 20:21:51 2018 +0000 |
tree | 9d58355a1675afa6b943938d95bbd49f2e00d55f | |
parent | 3bd24cdeac2c2f3f69aede3df64c4cdd5e13594e [diff] |
[ARM] Use preferred alignment for constants in promoteToConstantPool. This mostly affects IR generated by non-clang frontends because clang generally sets the alignment of globals explicitly. Fixes https://bugs.llvm.org//show_bug.cgi?id=32394 . (-arm-promote-constant is currently off by default, and it stays off with this patch. I'll look into turning it on again when all the known issues are fixed.) Differential Revision: https://reviews.llvm.org/D51469 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343359 91177308-0d34-0410-b5e6-96231b3b80d8