1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 2# RUN: llc -march=amdgcn -run-pass=si-i1-copies -verify-machineinstrs %s -o - | FileCheck -check-prefixes=GCN %s 3 4# Test that the new IMPLICIT_DEF is inserted in the correct location. 5--- 6name: test_undef 7tracksRegLiveness: true 8body: | 9 ; GCN-LABEL: name: test_undef 10 ; GCN: bb.0: 11 ; GCN: successors: %bb.1(0x80000000) 12 ; GCN: S_BRANCH %bb.1 13 ; GCN: bb.1: 14 ; GCN: [[DEF:%[0-9]+]]:sreg_64 = IMPLICIT_DEF 15 ; GCN: [[COPY:%[0-9]+]]:sreg_64_xexec = COPY [[DEF]] 16 ; GCN: [[V_CNDMASK_B32_e64_:%[0-9]+]]:vgpr_32 = V_CNDMASK_B32_e64 0, 0, 0, 1, [[COPY]], implicit $exec 17 bb.0: 18 successors: %bb.1 19 20 %0:vreg_1 = IMPLICIT_DEF 21 S_BRANCH %bb.1 22 23 bb.1: 24 %1:vreg_1 = PHI %0, %bb.0 25 %2:sreg_64_xexec = COPY %1 26 %3:vgpr_32 = V_CNDMASK_B32_e64 0, 0, 0, 1, %2, implicit $exec 27 28... 29