aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/2011-03-15-LdStMultipleBug.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-08-15 21:10:18 +0000
committerBill Wendling <isanbard@gmail.com>2012-08-15 21:10:18 +0000
commit1e0b864d23bb7a93c3c12708d2b79110b4568920 (patch)
treeb000e0c04824af4e5bce5d6e403a7bb9b714b2b6 /test/CodeGen/ARM/2011-03-15-LdStMultipleBug.ll
parent9c0f0dc7b287f6f6595832cb613c22c6400c9f2e (diff)
downloadexternal_llvm-1e0b864d23bb7a93c3c12708d2b79110b4568920.zip
external_llvm-1e0b864d23bb7a93c3c12708d2b79110b4568920.tar.gz
external_llvm-1e0b864d23bb7a93c3c12708d2b79110b4568920.tar.bz2
Rework test so that it reproduces the error without the horrible flag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161989 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/2011-03-15-LdStMultipleBug.ll')
-rw-r--r--test/CodeGen/ARM/2011-03-15-LdStMultipleBug.ll10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/CodeGen/ARM/2011-03-15-LdStMultipleBug.ll b/test/CodeGen/ARM/2011-03-15-LdStMultipleBug.ll
index 2faa04a..e84ce0e 100644
--- a/test/CodeGen/ARM/2011-03-15-LdStMultipleBug.ll
+++ b/test/CodeGen/ARM/2011-03-15-LdStMultipleBug.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 -relocation-model=pic -disable-fp-elim -disable-cgp-delete-dead-blocks -mcpu=cortex-a8 | FileCheck %s
+; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 -relocation-model=pic -disable-fp-elim -mcpu=cortex-a8 | FileCheck %s
; Do not form Thumb2 ldrd / strd if the offset is not multiple of 4.
; rdar://9133587
@@ -21,12 +21,6 @@ for.body: ; preds = %_Z14printIsNotZeroi
%x = getelementptr %struct.Outer* @oStruct, i32 0, i32 1, i32 %i.022, i32 0
%y = getelementptr %struct.Outer* @oStruct, i32 0, i32 1, i32 %i.022, i32 1
%inc = add i32 %i.022, 1
- br i1 %tmp3, label %_Z14printIsNotZeroi.exit, label %if.then.i
-
-if.then.i: ; preds = %for.body
- unreachable
-
-_Z14printIsNotZeroi.exit: ; preds = %for.body
%tmp8 = load i32* %x, align 4, !tbaa !0
%tmp11 = load i32* %y, align 4, !tbaa !0
%mul = mul nsw i32 %tmp11, %tmp8
@@ -37,7 +31,7 @@ if.then.i16: ; preds = %_Z14printIsNotZeroi
unreachable
_Z14printIsNotZeroi.exit17: ; preds = %_Z14printIsNotZeroi.exit
- br i1 undef, label %_Z14printIsNotZeroi.exit17.for.body_crit_edge, label %for.end
+ br label %_Z14printIsNotZeroi.exit17.for.body_crit_edge
_Z14printIsNotZeroi.exit17.for.body_crit_edge: ; preds = %_Z14printIsNotZeroi.exit17
%b.phi.trans.insert = getelementptr %struct.Outer* @oStruct, i32 0, i32 1, i32 %inc, i32 3