19 lines · plain
1; RUN: opt %s -o - -S -passes='default<O2>' | FileCheck %s2; RUN: opt %s -o - -S -passes=inliner-wrapper | FileCheck %s3 4; CHECK-NOT: call void @b()5define void @b() alwaysinline {6entry:7 br label %for.cond8 9for.cond:10 call void @a()11 br label %for.cond12}13 14define void @a() {15entry:16 call void @b()17 ret void18}19