2 ; RUN: opt -hotcoldsplit -debug-only=hotcoldsplit -S < %s -o /dev/null 2>&1 | FileCheck %s
4 declare void @sink() cold
8 define i32 @foo(i32 %arg) {
10 br i1 undef, label %cold, label %exit
13 ; CHECK: Applying penalty for: 1 output
14 ; CHECK: Applying penalty for: 1 non-region successors
15 %local = load i32, i32* @g
20 %p = phi i32 [ %local, %cold ], [ 0, %entry ]