# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py # RUN: llc -mtriple=amdgcn -mcpu=gfx900 -run-pass=dead-mi-elimination -o - %s | FileCheck %s # RUN: llc -mtriple=amdgcn -mcpu=gfx900 -run-pass=dead-mi-elimination -o - %s -debugify-and-strip-all-safe | FileCheck %s # Ensure that references in debug instructions to register results in dead # instructions do not prevent DCE. --- name: func tracksRegLiveness: true body: | bb.0: liveins: $vgpr0 ; GCN-LABEL: name: func ; GCN: liveins: $vgpr0 ; GCN-NEXT: {{ $}} ; GCN-NEXT: SI_RETURN implicit $vgpr0 ; CHECK-LABEL: name: func ; CHECK: liveins: $vgpr0 ; CHECK-NEXT: {{ $}} ; CHECK-NEXT: SI_RETURN implicit $vgpr0 $sgpr0 = S_MOV_B32 0 SI_RETURN implicit $vgpr0 ...