20 lines · plain
1; RUN: opt -S -passes='inline' < %s | FileCheck %s2 3; Make sure we don't mark calls within the same SCC as original function with noinline.4; CHECK-NOT: function-inline-cost-multiplier5 6define void @samescc1() {7 call void @samescc2()8 ret void9}10 11define void @samescc2() {12 call void @samescc3()13 ret void14}15 16define void @samescc3() {17 call void @samescc1()18 ret void19}20