1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 2# RUN: llc -mtriple aarch64 -run-pass=aarch64-postlegalizer-combiner -verify-machineinstrs %s -o - | FileCheck %s 3 4... 5--- 6name: postlegalize_copy_prop 7legalized: true 8tracksRegLiveness: true 9body: | 10 bb.1.entry: 11 liveins: $x0, $x1 12 13 ; CHECK-LABEL: name: postlegalize_copy_prop 14 ; CHECK: liveins: $x0, $x1 15 ; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY $x0 16 ; CHECK: [[COPY1:%[0-9]+]]:_(s64) = COPY $x1 17 ; CHECK: [[ADD:%[0-9]+]]:_(s64) = G_ADD [[COPY]], [[COPY1]] 18 ; CHECK: [[ADD1:%[0-9]+]]:_(s64) = G_ADD [[ADD]], [[ADD]] 19 ; CHECK: $x0 = COPY [[ADD1]](s64) 20 ; CHECK: RET_ReallyLR 21 %0:_(s64) = COPY $x0 22 %1:_(s64) = COPY $x1 23 %2:_(s64) = G_ADD %0, %1 24 %3:_(s64) = COPY %2 25 %4:_(s64) = G_ADD %3, %3 26 $x0 = COPY %4 27 RET_ReallyLR 28 29... 30