diff options
author | Nirav Dave <niravd@google.com> | 2016-09-28 16:37:50 +0000 |
---|---|---|
committer | Nirav Dave <niravd@google.com> | 2016-09-28 16:37:50 +0000 |
commit | e524f5088237ca5c3f9e9c857bc42e7b501588ad (patch) | |
tree | cd58272c150f7fa4ea8722395effbcf6df108674 /llvm/test/CodeGen/Thumb/stack-access.ll | |
parent | 5217f8452ca20825f40f03246255dc7e08bb6536 (diff) | |
download | bcm5719-llvm-e524f5088237ca5c3f9e9c857bc42e7b501588ad.tar.gz bcm5719-llvm-e524f5088237ca5c3f9e9c857bc42e7b501588ad.zip |
Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled."
This reverts commit r282600 due to test failues with MCJIT
llvm-svn: 282604
Diffstat (limited to 'llvm/test/CodeGen/Thumb/stack-access.ll')
-rw-r--r-- | llvm/test/CodeGen/Thumb/stack-access.ll | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/Thumb/stack-access.ll b/llvm/test/CodeGen/Thumb/stack-access.ll index 24512188e01..fded4104207 100644 --- a/llvm/test/CodeGen/Thumb/stack-access.ll +++ b/llvm/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 |