summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-12-15 23:52:36 +0000
committerJim Grosbach <grosbach@apple.com>2010-12-15 23:52:36 +0000
commitbfef309d11f186f459e64d99767f07d70da5fb4c (patch)
tree730fd310941fca067f88cccf2a834f98e3972a7b /llvm/test
parent347f4c32e81ec09997dbc5b52c5c061cda33aba5 (diff)
downloadbcm5719-llvm-bfef309d11f186f459e64d99767f07d70da5fb4c.tar.gz
bcm5719-llvm-bfef309d11f186f459e64d99767f07d70da5fb4c.zip
Thumb1 had two patterns for the same load-from-constant-pool instruction.
Canonicalize on tLDRpci and remove tLDRcp. llvm-svn: 121920
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/Thumb/large-stack.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/Thumb/large-stack.ll b/llvm/test/CodeGen/Thumb/large-stack.ll
index f4dd3e08c4b..fbacabaedc3 100644
--- a/llvm/test/CodeGen/Thumb/large-stack.ll
+++ b/llvm/test/CodeGen/Thumb/large-stack.ll
@@ -10,7 +10,7 @@ define void @test1() {
define void @test2() {
; CHECK: test2:
-; CHECK: ldr r0, LCPI
+; CHECK: ldr.n r0, LCPI
; CHECK: add sp, r0
; CHECK: subs r4, r7, #4
; CHECK: mov sp, r4
@@ -20,9 +20,9 @@ define void @test2() {
define i32 @test3() {
; CHECK: test3:
-; CHECK: ldr r2, LCPI
+; CHECK: ldr.n r2, LCPI
; CHECK: add sp, r2
-; CHECK: ldr r1, LCPI
+; CHECK: ldr.n r1, LCPI
; CHECK: add r1, sp
; CHECK: subs r4, r7, #4
; CHECK: mov sp, r4
OpenPOWER on IntegriCloud