16 lines · plain
1; RUN: opt < %s -passes="print<inline-cost>" 2>&1 | FileCheck %s2 3; CHECK-LABEL: @test()4; CHECK: cost before = {{.*}}, cost after = {{.*}}, threshold before = {{.*}}, threshold after = {{.*}}, cost delta = {{.*}}, simplified to i1 false5; CHECK: %1 = icmp eq i32 4, 56 7define i32 @test() {8 %1 = icmp eq i32 4, 59 ret i32 010}11 12define void @main() {13 %1 = call i32 @test()14 ret void15}16