summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll
diff options
context:
space:
mode:
authorJakub Staszak <jstaszak@apple.com>2011-08-03 22:34:43 +0000
committerJakub Staszak <jstaszak@apple.com>2011-08-03 22:34:43 +0000
commit990f78d53bfe3cf2c82147bc34b457b01e651f25 (patch)
tree9f30e2b28859e7fb63e1aa7867a41ed5f2bc1a14 /test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll
parent2626dba9c5515d2e534c117bb16ceb03dd4d0930 (diff)
downloadllvm-990f78d53bfe3cf2c82147bc34b457b01e651f25.tar.gz
llvm-990f78d53bfe3cf2c82147bc34b457b01e651f25.tar.bz2
llvm-990f78d53bfe3cf2c82147bc34b457b01e651f25.tar.xz
Use MachineBranchProbabilityInfo in If-Conversion instead of its own heuristics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll')
-rw-r--r--test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll b/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll
index f91e1c9feb..244d0bb8f7 100644
--- a/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll
+++ b/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll
@@ -32,15 +32,15 @@
define fastcc i32 @parse_percent_token() nounwind {
entry:
-; CHECK: ittt eq
-; CHECK: ittt eq
-; CHECK: ittt eq
-; CHECK: ittt eq
-; CHECK: ittt eq
-; CHECK: moveq r0
-; CHECK-NOT: LBB0_
-; CHECK: ldreq
-; CHECK: popeq
+; CHECK: pop
+; CHECK: pop
+; CHECK: pop
+; CHECK: pop
+; CHECK: pop
+; CHECK: pop
+; CHECK: pop
+; Do not convert into single stream code. BranchProbability Analysis assumes
+; that branches which goes to "ret" intruction have lower probabilities.
switch i32 undef, label %bb7 [
i32 37, label %bb43
i32 48, label %bb5