summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2016-10-13 20:23:25 +0000
committerNirav Dave <niravd@google.com>2016-10-13 20:23:25 +0000
commit080559c6d39cfb0bbf1effe4d2d4a87368620596 (patch)
treee3b8e93b0f4bdbb6bc5a173eaf8f3e3088b3a44d /test/CodeGen/Thumb
parent154f790710ef85dc956d994fcb27b3582e7a75de (diff)
Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled."
This reverts commit r284151 which appears to be triggering a LTO failures on Hexagon git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb')
-rw-r--r--test/CodeGen/Thumb/2010-07-15-debugOrdering.ll2
-rw-r--r--test/CodeGen/Thumb/stack-access.ll8
2 files changed, 4 insertions, 6 deletions
diff --git a/test/CodeGen/Thumb/2010-07-15-debugOrdering.ll b/test/CodeGen/Thumb/2010-07-15-debugOrdering.ll
index 08349a31dfa..2f8e36b66b8 100644
--- a/test/CodeGen/Thumb/2010-07-15-debugOrdering.ll
+++ b/test/CodeGen/Thumb/2010-07-15-debugOrdering.ll
@@ -9,8 +9,8 @@
define void @_Z19getClosestDiagonal3ii(%0* noalias sret, i32, i32) nounwind {
; CHECK: bl ___muldf3
-; CHECK: beq LBB0
; CHECK: bl ___muldf3
+; CHECK: beq LBB0
; CHECK: bl ___muldf3
; <label>:3
switch i32 %1, label %4 [
diff --git a/test/CodeGen/Thumb/stack-access.ll b/test/CodeGen/Thumb/stack-access.ll
index 24512188e01..fded4104207 100644
--- a/test/CodeGen/Thumb/stack-access.ll
+++ b/test/CodeGen/Thumb/stack-access.ll
@@ -74,17 +74,15 @@ define zeroext i16 @test6() {
}
; Accessing the bottom of a large array shouldn't require materializing a base
-;
-; CHECK: movs [[REG:r[0-9]+]], #1
-; CHECK: str [[REG]], [sp, #16]
-; CHECK: str [[REG]], [sp, #4]
-
define void @test7() {
%arr = alloca [200 x i32], align 4
+ ; CHECK: movs [[REG:r[0-9]+]], #1
+ ; CHECK: str [[REG]], [sp, #4]
%arrayidx = getelementptr inbounds [200 x i32], [200 x i32]* %arr, i32 0, i32 1
store i32 1, i32* %arrayidx, align 4
+ ; CHECK: str [[REG]], [sp, #16]
%arrayidx1 = getelementptr inbounds [200 x i32], [200 x i32]* %arr, i32 0, i32 4
store i32 1, i32* %arrayidx1, align 4