1 # REQUIRES: amdgpu-registered-target
2 # RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -run-pass=none -o /dev/null %s 2>&1 | FileCheck %s
6 tracksRegLiveness: true
9 ; CHECK: *** Bad machine code: Undef virtual register def operands require a subregister ***
10 undef %0:sreg_64 = S_MOV_B64 0
12 ; CHECK: *** Bad machine code: Undef virtual register def operands require a subregister ***
13 S_NOP 0, implicit-def undef %1:sreg_64
14 S_ENDPGM 0, implicit %0.sub0, implicit %0.sub1