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