1; Make sure we don't detect devirtualization on inlining a function with a direct call 2; RUN: opt -abort-on-max-devirt-iterations-reached -passes='cgscc(devirt<0>(inline))' -S < %s | FileCheck %s 3 4define i32 @i() noinline { 5 ret i32 45 6} 7 8; CHECK-NOT: call i32 @call() 9 10define i32 @main() { 11 %r = call i32 @call() 12 ret i32 %r 13} 14 15define i32 @call() alwaysinline { 16 %r = call i32 @i() 17 ret i32 %r 18} 19