summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2010-01-30 14:08:12 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2010-01-30 14:08:12 +0000
commit25df248382fb4cca50f2a28aeee760c0787da617 (patch)
tree5c2a2895e6c1ab2924dcc961b31970c7eb111e62 /llvm/test
parenta87bdb793ec3f2f14fc2ca441851c0387bbeec35 (diff)
downloadbcm5719-llvm-25df248382fb4cca50f2a28aeee760c0787da617.tar.gz
bcm5719-llvm-25df248382fb4cca50f2a28aeee760c0787da617.zip
Fix a gross typo: ARMv6+ may or may not support unaligned memory operations.
Even if they are suported by the core, they can be disabled (this is just a configuration bit inside some register). Allow unaligned memops on darwin and conservatively disallow them otherwise. llvm-svn: 94889
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/ARM/unaligned_load_store.ll5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/ARM/unaligned_load_store.ll b/llvm/test/CodeGen/ARM/unaligned_load_store.ll
index fcaa2b3103e..a4494f37055 100644
--- a/llvm/test/CodeGen/ARM/unaligned_load_store.ll
+++ b/llvm/test/CodeGen/ARM/unaligned_load_store.ll
@@ -1,6 +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 -march=arm -mattr=+v7a | FileCheck %s -check-prefix=V7
+; RUN: llc < %s -mtriple=armv6-linux | FileCheck %s -check-prefix=GENERIC
; rdar://7113725
@@ -20,9 +20,6 @@ entry:
; DARWIN_V6: ldr r1
; DARWIN_V6: str r1
-; V7: t:
-; V7: ldr r1
-; V7: str r1
%__src1.i = bitcast i8* %b to i32* ; <i32*> [#uses=1]
%__dest2.i = bitcast i8* %a to i32* ; <i32*> [#uses=1]
%tmp.i = load i32* %__src1.i, align 1 ; <i32> [#uses=1]
OpenPOWER on IntegriCloud