summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/2011-10-26-memset-inline.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/ARM/2011-10-26-memset-inline.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/ARM/2011-10-26-memset-inline.ll')
-rw-r--r--llvm/test/CodeGen/ARM/2011-10-26-memset-inline.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/2011-10-26-memset-inline.ll b/llvm/test/CodeGen/ARM/2011-10-26-memset-inline.ll
index 17bd291a6b5..5df439389cd 100644
--- a/llvm/test/CodeGen/ARM/2011-10-26-memset-inline.ll
+++ b/llvm/test/CodeGen/ARM/2011-10-26-memset-inline.ll
@@ -1,5 +1,5 @@
; Make sure short memsets on ARM lower to stores, even when optimizing for size.
-; RUN: llc -march=arm < %s | FileCheck %s -check-prefix=CHECK-GENERIC
+; RUN: llc -march=arm -mattr=+strict-align < %s | FileCheck %s -check-prefix=CHECK-GENERIC
; RUN: llc -march=arm -mcpu=cortex-a8 < %s | FileCheck %s -check-prefix=CHECK-UNALIGNED
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32-S32"
OpenPOWER on IntegriCloud