1; RUN: opt < %s 2>&1 -disable-output \ 2; RUN: -passes=inline -print-before-all -print-after-all | FileCheck %s 3; RUN: opt < %s 2>&1 -disable-output \ 4; RUN: -passes=inline -print-before-all -print-after-all -print-module-scope | FileCheck %s 5 6; CHECK: IR Dump Before InlinerPass on (tester, foo) 7; CHECK: IR Dump After InlinerPass on (tester, foo) 8; CHECK: IR Dump Before InlinerPass on (tester) 9; CHECK: IR Dump After InlinerPass on (tester) 10 11 12define void @tester() noinline { 13 call void @foo() 14 ret void 15} 16 17define internal void @foo() alwaysinline { 18 call void @tester() 19 ret void 20} 21