brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 2fb3467 Raw
44 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -verify-machineinstrs -run-pass=register-coalescer -o - %s | FileCheck -check-prefix=GCN %s3 4# Test used to crash with message:5# JoinVals::ConflictResolution (anonymous namespace)::JoinVals::analyzeValue(unsigned int, (anonymous namespace)::JoinVals &): Assertion `DefMI != nullptr' failed6 7---8name:            test9tracksRegLiveness: true10body:             |11  ; GCN-LABEL: name: test12  ; GCN: bb.0:13  ; GCN-NEXT:   successors: %bb.2(0x80000000)14  ; GCN-NEXT: {{  $}}15  ; GCN-NEXT:   undef [[DEF:%[0-9]+]].sub0:vreg_128 = IMPLICIT_DEF16  ; GCN-NEXT:   [[DEF:%[0-9]+]].sub1:vreg_128 = IMPLICIT_DEF17  ; GCN-NEXT:   S_BRANCH %bb.218  ; GCN-NEXT: {{  $}}19  ; GCN-NEXT: bb.1:20  ; GCN-NEXT:   successors: %bb.2(0x80000000)21  ; GCN-NEXT: {{  $}}22  ; GCN-NEXT:   [[DEF:%[0-9]+]]:vreg_128 = IMPLICIT_DEF23  ; GCN-NEXT: {{  $}}24  ; GCN-NEXT: bb.2:25  ; GCN-NEXT:   [[DEF:%[0-9]+]].sub2:vreg_128 = COPY undef %3:sreg_3226  ; GCN-NEXT:   S_ENDPGM 0, implicit [[DEF]]27  bb.0:28    undef %0.sub0:vreg_128 = IMPLICIT_DEF29    %0.sub1:vreg_128 = IMPLICIT_DEF30    %1:vreg_128 = COPY %031    %2:vreg_128 = COPY killed %032    S_BRANCH %bb.233 34  bb.1:35    %1:vreg_128 = COPY killed undef %136 37  bb.2:38    %1.sub2:vreg_128 = COPY undef %3:sreg_3239    %2:vreg_128 = COPY killed %140    %4:vreg_128 = COPY killed %241    S_ENDPGM 0, implicit killed %442 43...44