1 ; RUN: opt < %s -passes='cgscc(devirt<4>(inline))' -S | FileCheck %s
5 %funcall1_ = call fastcc ptr () @f1()
6 %executecommandptr1_ = call i32 %funcall1_()
7 ret i32 %executecommandptr1_
10 define internal fastcc ptr @f1() nounwind readnone {
14 define internal i32 @f2() nounwind readnone {
19 ; CHECK-NEXT: ret i32 1
25 declare ptr @f1a(ptr) ssp align 2
27 define internal i32 @f2a(ptr %t) inlinehint ssp {
32 define internal i32 @f3a(ptr %__f) ssp {
34 %A = call i32 %__f(ptr undef)
38 define i32 @test2(ptr %this) ssp align 2 {
39 %X = call i32 @f3a(ptr @f2a) ssp
43 ; CHECK-LABEL: @test2(
44 ; CHECK-NEXT: ret i32 41