summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Thumb/cortex-m0-unaligned-access.ll
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2015-07-28 22:44:28 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2015-07-28 22:44:28 +0000
commit2670f4a5509d5697fff7a2ae22a783cb0eb89d65 (patch)
tree96486b46e64db57ab6eaafe019d730fc638f023a /llvm/test/CodeGen/Thumb/cortex-m0-unaligned-access.ll
parent17ae83a25f283d491904f74c759c30f27dbc8225 (diff)
downloadbcm5719-llvm-2670f4a5509d5697fff7a2ae22a783cb0eb89d65.tar.gz
bcm5719-llvm-2670f4a5509d5697fff7a2ae22a783cb0eb89d65.zip
[ARM] Define subtarget feature strict-align.
This commit defines subtarget feature strict-align and uses it instead of cl::opt -arm-strict-align to decide whether strict alignment should be forced. Also, remove the logic that was checking the OS and architecture as clang is now responsible for setting strict-align based on the command line options specified and the target architecute and OS. rdar://problem/21529937 http://reviews.llvm.org/D11470 llvm-svn: 243493
Diffstat (limited to 'llvm/test/CodeGen/Thumb/cortex-m0-unaligned-access.ll')
-rw-r--r--llvm/test/CodeGen/Thumb/cortex-m0-unaligned-access.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Thumb/cortex-m0-unaligned-access.ll b/llvm/test/CodeGen/Thumb/cortex-m0-unaligned-access.ll
index cba1ca68569..1ba7cb795d1 100644
--- a/llvm/test/CodeGen/Thumb/cortex-m0-unaligned-access.ll
+++ b/llvm/test/CodeGen/Thumb/cortex-m0-unaligned-access.ll
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=thumbv6m-apple-unknown-macho < %s | FileCheck --check-prefix=V6M %s
+; RUN: llc -mtriple=thumbv6m-apple-unknown-macho -mattr=+strict-align < %s | FileCheck --check-prefix=V6M %s
; RUN: llc -mtriple=thumbv7m-apple-unknown-macho < %s | FileCheck --check-prefix=V7M %s
define i32 @split_load(i32* %p) nounwind {
OpenPOWER on IntegriCloud