; 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 | |
} |