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
4 define void @f(i16 %y) {
5 ; CHECK-LABEL: define {{[^@]+}}@f
6 ; CHECK-SAME: (i16 [[Y:%.*]]) {
12 define 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]]
18 %x = call i32 @f( i32 %y )