1 ; RUN: opt -hotcoldsplit -hotcoldsplit-threshold=-1 -S < %s | FileCheck %s
3 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
4 target triple = "x86_64-apple-macosx10.14.0"
6 ; Consider `resume` to be cold.
8 ; CHECK-LABEL: define {{.*}}@foo.cold.1(
9 ; CHECK: call {{.*}}@sink(
11 declare void @sink() cold
13 define i32 @foo() personality i8 0 {
15 br i1 undef, label %pre-resume-eh, label %normal