1 ; RUN: opt -abort-on-max-devirt-iterations-reached -passes='cgscc(devirt<1>(inline,instcombine))' -S < %s | FileCheck %s
2 ; RUN: opt -abort-on-max-devirt-iterations-reached -passes='default<O2>' -S < %s | FileCheck %s
4 define i32 @i() alwaysinline {
8 ; CHECK-LABEL: define {{(noundef )?}}i32 @main
9 ; CHECK-NEXT: ret i32 45
14 %r = call i32 @call(ptr %a)
18 define i32 @call(ptr %a) alwaysinline {