xref: /llvm-project/llvm/test/Transforms/Inline/mut-rec-scc-2.ll (revision 53e5e586709a329370ea268a8e8191b16fd641b7)
1; RUN: opt -S -passes='inline' < %s | FileCheck %s
2
3; Make sure we don't mark calls within the same SCC as original function with noinline.
4; CHECK-NOT: function-inline-cost-multiplier
5
6define void @samescc1() {
7  call void @samescc2()
8  ret void
9}
10
11define void @samescc2() {
12  call void @samescc3()
13  ret void
14}
15
16define void @samescc3() {
17  call void @samescc1()
18  ret void
19}
20