brintos

brintos / llvm-project-archived public Read only

0
0
Text · 597 B · c7455ff Raw
21 lines · plain
1; RUN: opt < %s 2>&1 -disable-output \2; RUN: 	   -passes=inline -print-before-all -print-after-all | FileCheck %s3; RUN: opt < %s 2>&1 -disable-output \4; RUN: 	   -passes=inline -print-before-all -print-after-all -print-module-scope | FileCheck %s5 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 void15}16 17define internal void @foo() alwaysinline {18  call void @tester()19  ret void20}21