From: Xinliang David Li Date: Tue, 14 Jun 2016 23:05:46 +0000 (+0000) Subject: Fix a test case to match its intention X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bfbb0950515d62a8798778b57900e13d8f638368;p=llvm Fix a test case to match its intention git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272733 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/block-placement.ll b/test/CodeGen/X86/block-placement.ll index aeea6c70417..0e790864db4 100644 --- a/test/CodeGen/X86/block-placement.ll +++ b/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()