1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature
2 ; RUN: opt < %s -S | FileCheck %s
4 define i32 @reuse_arg_names(i32 %X, i32 %Y) {
5 ; CHECK-LABEL: define {{[^@]+}}@reuse_arg_names
6 ; CHECK-SAME: (i32 [[X:%.*]], i32 [[Y:%.*]]) {
7 ; CHECK-NEXT: [[Z:%.*]] = sub i32 [[X]], [[Y]]
8 ; CHECK-NEXT: [[Q:%.*]] = add i32 [[Z]], [[Y]]
9 ; CHECK-NEXT: ret i32 [[Q]]