summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2013-05-17 23:49:01 +0000
committerJF Bastien <jfb@google.com>2013-05-17 23:49:01 +0000
commitbab06ba696694e7f62f964af7ee5290a13f78340 (patch)
tree5e253bd087fd639188bf69b6b15a9cc9604c88d7 /lib/CodeGen
parent637cb17a3d65b46f48ae8dfd012057e6c9d00c2b (diff)
downloadllvm-bab06ba696694e7f62f964af7ee5290a13f78340.tar.gz
llvm-bab06ba696694e7f62f964af7ee5290a13f78340.tar.bz2
llvm-bab06ba696694e7f62f964af7ee5290a13f78340.tar.xz
Support unaligned load/store on more ARM targets
This patch matches GCC behavior: the code used to only allow unaligned load/store on ARM for v6+ Darwin, it will now allow unaligned load/store for v6+ Darwin as well as for v7+ on Linux and NaCl. The distinction is made because v6 doesn't guarantee support (but LLVM assumes that Apple controls hardware+kernel and therefore have conformant v6 CPUs), whereas v7 does provide this guarantee (and Linux/NaCl behave sanely). The patch keeps the -arm-strict-align command line option, and adds -arm-no-strict-align. They behave similarly to GCC's -mstrict-align and -mnostrict-align. I originally encountered this discrepancy in FastIsel tests which expect unaligned load/store generation. Overall this should slightly improve performance in most cases because of reduced I$ pressure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182175 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
0 files changed, 0 insertions, 0 deletions