aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/unaligned_load_store.ll
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-09-28 04:09:35 +0000
committerBob Wilson <bob.wilson@apple.com>2010-09-28 04:09:35 +0000
commit02aba73a9ec04d0de9424422249af3948ca9573a (patch)
tree9d94b1f01c2c6466f8cfb98c547cbab054c1d033 /test/CodeGen/ARM/unaligned_load_store.ll
parent7ed8ec94d96cc87e768fd5ebe4ddeb04dd56e8ab (diff)
downloadexternal_llvm-02aba73a9ec04d0de9424422249af3948ca9573a.zip
external_llvm-02aba73a9ec04d0de9424422249af3948ca9573a.tar.gz
external_llvm-02aba73a9ec04d0de9424422249af3948ca9573a.tar.bz2
Add a command line option "-arm-strict-align" to disallow unaligned memory
accesses for ARM targets that would otherwise allow it. Radar 8465431. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114941 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/unaligned_load_store.ll')
-rw-r--r--test/CodeGen/ARM/unaligned_load_store.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/unaligned_load_store.ll b/test/CodeGen/ARM/unaligned_load_store.ll
index e279491..354895e 100644
--- a/test/CodeGen/ARM/unaligned_load_store.ll
+++ b/test/CodeGen/ARM/unaligned_load_store.ll
@@ -1,5 +1,6 @@
; RUN: llc < %s -march=arm | FileCheck %s -check-prefix=GENERIC
; RUN: llc < %s -mtriple=armv6-apple-darwin | FileCheck %s -check-prefix=DARWIN_V6
+; RUN: llc < %s -mtriple=armv6-apple-darwin -arm-strict-align | FileCheck %s -check-prefix=GENERIC
; RUN: llc < %s -mtriple=armv6-linux | FileCheck %s -check-prefix=GENERIC
; rdar://7113725