1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature 2; RUN: opt < %s -passes=instcombine -S | FileCheck %s 3 4define void @f(i16 %y) { 5; CHECK-LABEL: define {{[^@]+}}@f 6; CHECK-SAME: (i16 [[Y:%.*]]) { 7; CHECK-NEXT: ret void 8; 9 ret void 10} 11 12define i32 @g(i32 %y) { 13; CHECK-LABEL: define {{[^@]+}}@g 14; CHECK-SAME: (i32 [[Y:%.*]]) { 15; CHECK-NEXT: [[X:%.*]] = call i32 @f(i32 [[Y]]) 16; CHECK-NEXT: ret i32 [[X]] 17; 18 %x = call i32 @f( i32 %y ) 19 ret i32 %x 20} 21