]> granicus.if.org Git - llvm/commitdiff
Fix a test case to match its intention
authorXinliang David Li <davidxl@google.com>
Tue, 14 Jun 2016 23:05:46 +0000 (23:05 +0000)
committerXinliang David Li <davidxl@google.com>
Tue, 14 Jun 2016 23:05:46 +0000 (23:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272733 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/block-placement.ll

index aeea6c7041762d19fa1e629b5d7884e337680193..0e790864db49eabab9fdbbc8b8630321142d94a3 100644 (file)
@@ -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()