26 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -o - %s -mtriple=armv7s-- -run-pass=machine-cp | FileCheck %s3 4# RUN: llc -o - %s -mtriple=armv7s-- -passes=machine-cp | FileCheck %s5---6# Test that machine copy prop recognizes the implicit-def operands on a COPY7# as clobbering the register.8# The following two COPYs must not be removed9name: func10body: |11 bb.0:12 ; CHECK-LABEL: name: func13 ; CHECK: $d2 = VMOVv2i32 2, 14 /* CC::al */, $noreg14 ; CHECK: $s5 = COPY $s0, implicit $q1, implicit-def $q115 ; CHECK: VST1q32 $r0, 0, $q1, 14 /* CC::al */, $noreg16 ; CHECK: $s4 = COPY $s20, implicit-def $q117 ; CHECK: $s5 = COPY $s0, implicit killed $d0, implicit $q1, implicit-def $q118 ; CHECK: VST1q32 $r2, 0, $q1, 14 /* CC::al */, $noreg19 $d2 = VMOVv2i32 2, 14, $noreg20 $s5 = COPY $s0, implicit $q1, implicit-def $q121 VST1q32 $r0, 0, $q1, 14, $noreg22 $s4 = COPY $s20, implicit-def $q123 $s5 = COPY $s0, implicit killed $d0, implicit $q1, implicit-def $q124 VST1q32 $r2, 0, $q1, 14, $noreg25...26