1 ; RUN: opt -passes="always-inline" -pass-remarks=inline -pass-remarks-missed=inline -S < %s 2>&1 | FileCheck %s --implicit-check-not="remark: "
3 declare void @personalityFn1();
4 declare void @personalityFn2();
6 define void @foo() alwaysinline {
10 define void @bar() alwaysinline personality ptr @personalityFn1 {
14 define void @goo() personality ptr @personalityFn2 {
15 ; CHECK-DAG: remark: {{.*}}: 'bar' is not inlined into 'goo': incompatible personality
17 ; CHECK-DAG: remark: {{.*}}: 'foo' is not inlined into 'goo': unsupported operand bundle
18 call void @foo() [ "CUSTOM_OPERAND_BUNDLE"() ]
19 ; CHECK-DAG: remark: {{.*}}: 'foo' inlined into 'goo' with (cost=always): always inline attribute