[llvm] r272733 - Fix a test case to match its intention
Xinliang David Li via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 14 16:05:47 PDT 2016
Author: davidxl
Date: Tue Jun 14 18:05:46 2016
New Revision: 272733
URL: http://llvm.org/viewvc/llvm-project?rev=272733&view=rev
Log:
Fix a test case to match its intention
Modified:
llvm/trunk/test/CodeGen/X86/block-placement.ll
Modified: llvm/trunk/test/CodeGen/X86/block-placement.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/block-placement.ll?rev=272733&r1=272732&r2=272733&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/block-placement.ll (original)
+++ llvm/trunk/test/CodeGen/X86/block-placement.ll Tue Jun 14 18:05:46 2016
@@ -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()
More information about the llvm-commits
mailing list