aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Thumb2/machine-licm.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-03-10 03:07:41 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-03-10 03:07:41 +0000
commitfac4f1f1815b54346a805834a8c19d573ce8856c (patch)
tree7d96230aae477b51f64bbdeaab85a8dd9f4e8427 /test/CodeGen/Thumb2/machine-licm.ll
parent974c0fb4047f7d9f190f6ca5780c7a06e6c40914 (diff)
downloadexternal_llvm-fac4f1f1815b54346a805834a8c19d573ce8856c.zip
external_llvm-fac4f1f1815b54346a805834a8c19d573ce8856c.tar.gz
external_llvm-fac4f1f1815b54346a805834a8c19d573ce8856c.tar.bz2
Enable machine cse pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/machine-licm.ll')
-rw-r--r--test/CodeGen/Thumb2/machine-licm.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/CodeGen/Thumb2/machine-licm.ll b/test/CodeGen/Thumb2/machine-licm.ll
index 9ab19e9..53ff537 100644
--- a/test/CodeGen/Thumb2/machine-licm.ll
+++ b/test/CodeGen/Thumb2/machine-licm.ll
@@ -18,9 +18,8 @@ entry:
bb.nph: ; preds = %entry
; CHECK: BB#1
; CHECK: ldr.n r2, LCPI1_0
-; CHECK: ldr r3, [r2]
-; CHECK: ldr r3, [r3]
; CHECK: ldr r2, [r2]
+; CHECK: ldr r3, [r2]
; CHECK: LBB1_2
; CHECK: LCPI1_0:
; CHECK-NOT: LCPI1_1:
@@ -29,9 +28,8 @@ bb.nph: ; preds = %entry
; PIC: BB#1
; PIC: ldr.n r2, LCPI1_0
; PIC: add r2, pc
-; PIC: ldr r3, [r2]
-; PIC: ldr r3, [r3]
; PIC: ldr r2, [r2]
+; PIC: ldr r3, [r2]
; PIC: LBB1_2
; PIC: LCPI1_0:
; PIC-NOT: LCPI1_1: