brintos

brintos / llvm-project-archived public Read only

0
0
Text · 977 B · fb052e2 Raw
31 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=amdgcn -run-pass=si-i1-copies -verify-machineinstrs %s -o - | FileCheck -check-prefixes=GCN %s3 4# Test that the new IMPLICIT_DEF is inserted in the correct location.5---6name:            test_undef7tracksRegLiveness: true8body:             |9  ; GCN-LABEL: name: test_undef10  ; GCN: bb.0:11  ; GCN-NEXT:   successors: %bb.1(0x80000000)12  ; GCN-NEXT: {{  $}}13  ; GCN-NEXT:   S_BRANCH %bb.114  ; GCN-NEXT: {{  $}}15  ; GCN-NEXT: bb.1:16  ; GCN-NEXT:   [[DEF:%[0-9]+]]:sreg_64 = IMPLICIT_DEF17  ; GCN-NEXT:   [[COPY:%[0-9]+]]:sreg_64_xexec = COPY [[DEF]]18  ; GCN-NEXT:   [[V_CNDMASK_B32_e64_:%[0-9]+]]:vgpr_32 = V_CNDMASK_B32_e64 0, 0, 0, 1, [[COPY]], implicit $exec19  bb.0:20    successors: %bb.121 22    %0:vreg_1 = IMPLICIT_DEF23    S_BRANCH %bb.124 25  bb.1:26    %1:vreg_1 = PHI %0, %bb.027    %2:sreg_64_xexec = COPY %128    %3:vgpr_32 = V_CNDMASK_B32_e64 0, 0, 0, 1, %2, implicit $exec29 30...31