blob: e6cb25980a2f55e6b68ba7ce5575d6148072fa46 [file] [log] [blame]
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -S | FileCheck %s
define i32 @reuse_arg_names(i32 %X, i32 %Y) {
; CHECK-LABEL: @reuse_arg_names(
; 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
}