summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-06-14 23:05:46 +0000
committerXinliang David Li <davidxl@google.com>2016-06-14 23:05:46 +0000
commit8052238ac07dc2c4b5a3ff853f68f1cccbbf6b90 (patch)
treea75f67aa13433b5e8105986d6d8244756c1dfaca /llvm/test
parent9ea0833b6e8269e2148bbc34cf2e81ba0fa6d7b2 (diff)
downloadbcm5719-llvm-8052238ac07dc2c4b5a3ff853f68f1cccbbf6b90.tar.gz
bcm5719-llvm-8052238ac07dc2c4b5a3ff853f68f1cccbbf6b90.zip
Fix a test case to match its intention
llvm-svn: 272733
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/block-placement.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/block-placement.ll b/llvm/test/CodeGen/X86/block-placement.ll
index aeea6c70417..0e790864db4 100644
--- a/llvm/test/CodeGen/X86/block-placement.ll
+++ b/llvm/test/CodeGen/X86/block-placement.ll
@@ -1208,7 +1208,7 @@ exit:
}
define void @test_hot_branch_profile(i32* %a) !prof !6 {
-; Test that a hot branch that has a probability a little larger than 60% will
+; Test that a hot branch that has a probability a little larger than 50% will
; break CFG constrains when doing block placement when profile is available.
; CHECK-LABEL: test_hot_branch_profile:
; CHECK: %entry
@@ -1220,7 +1220,7 @@ entry:
%gep1 = getelementptr i32, i32* %a, i32 1
%val1 = load i32, i32* %gep1
%cond1 = icmp ugt i32 %val1, 1
- br i1 %cond1, label %then, label %else, !prof !5
+ br i1 %cond1, label %then, label %else, !prof !7
then:
call void @hot_function()
OpenPOWER on IntegriCloud