1; RUN: opt < %s -inline -S | FileCheck %s 2; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s 3 4define i32 @testByte(i8 %X) { 5entry: 6 %tmp = icmp ne i8 %X, 0 7 %tmp.i = zext i1 %tmp to i32 8 ret i32 %tmp.i 9} 10 11define i32 @main() { 12; CHECK-LABEL: define i32 @main() 13entry: 14 %rslt = call i32 @testByte(i8 123) 15; CHECK-NOT: call 16 ret i32 %rslt 17; CHECK: ret i32 1 18} 19