summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2/thumb2-cbnz.ll
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-05-04 19:54:24 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-05-04 19:54:24 +0000
commit49cec1d818d0c7d801e786c458896a60eb424524 (patch)
tree882141ee27beb9149f5029976eb6bdf2c3c1f58e /test/CodeGen/Thumb2/thumb2-cbnz.ll
parent2abb82b1d3bc31d75b7c03d76f7343d450f7b394 (diff)
downloadllvm-49cec1d818d0c7d801e786c458896a60eb424524.tar.gz
llvm-49cec1d818d0c7d801e786c458896a60eb424524.tar.bz2
llvm-49cec1d818d0c7d801e786c458896a60eb424524.tar.xz
Teach MachineCSE how to do simple cross-block CSE involving physregs. This allows, for example, eliminating duplicate cmpl's on x86. Part of rdar://problem/8259436 .
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130862 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/thumb2-cbnz.ll')
-rw-r--r--test/CodeGen/Thumb2/thumb2-cbnz.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-cbnz.ll b/test/CodeGen/Thumb2/thumb2-cbnz.ll
index 10a4985d17..0ca97647d5 100644
--- a/test/CodeGen/Thumb2/thumb2-cbnz.ll
+++ b/test/CodeGen/Thumb2/thumb2-cbnz.ll
@@ -21,8 +21,8 @@ bb7: ; preds = %bb3
bb9: ; preds = %bb7
; CHECK: cmp r0, #0
-; CHECK: cmp r0, #0
-; CHECK-NEXT: cbnz
+; CHECK-NOT: cmp
+; CHECK: cbnz
%0 = tail call double @floor(double %b) nounwind readnone ; <double> [#uses=0]
br label %bb11