1 ; RUN: opt -passes=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 ; CHECK: define {{.*}} @foo{{.*}}#[[outlined_func_attr:[0-9]+]]
7 define void @foo() noreturn cold {
11 ; CHECK: define {{.*}} @bar.cold.1{{.*}}#[[outlined_func_attr]]
12 define void @bar(i1 %arg) {
13 br i1 %arg, label %normal, label %exit
22 @take_addr_of_foo = global ptr @foo
23 @take_addr_of_bar = global ptr @bar
25 ; CHECK: attributes #[[outlined_func_attr]] = {