diff options
Diffstat (limited to 'test/CodeGen/X86/code_placement_cold_loop_blocks.ll')
-rw-r--r-- | test/CodeGen/X86/code_placement_cold_loop_blocks.ll | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/X86/code_placement_cold_loop_blocks.ll b/test/CodeGen/X86/code_placement_cold_loop_blocks.ll index d7dc8defac3ae..875d791dc8021 100644 --- a/test/CodeGen/X86/code_placement_cold_loop_blocks.ll +++ b/test/CodeGen/X86/code_placement_cold_loop_blocks.ll @@ -37,7 +37,7 @@ end: ret void } -define void @nested_loop_0() !prof !1 { +define void @nested_loop_0(i1 %flag) !prof !1 { ; Test if a block that is cold in the inner loop but not cold in the outer loop ; will merged to the outer loop chain. ; @@ -68,8 +68,7 @@ if.then: if.else: call void @e() - %call2 = call zeroext i1 @a() - br i1 %call2, label %header2, label %header, !prof !3 + br i1 %flag, label %header2, label %header, !prof !3 end: call void @f() |