22 lines · plain
1# RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -filetype=null %s 2>&1 | FileCheck -check-prefix=ERROR %s2 3# When the verifier was detecting the invalid liveness for vcc, it would assert when trying to iterate the subregisters of the implicit virtual register use.4 5 6# ERROR: *** Bad machine code: Using an undefined physical register ***7# ERROR: instruction: S_ENDPGM 0, implicit %0:vgpr_32, implicit $vcc8# ERROR: operand 2: implicit $vcc9 10...11 12name: invalid_implicit_physreg_use_with_implicit_virtreg13tracksRegLiveness: true14 15body: |16 bb.0:17 %0:vgpr_32 = IMPLICIT_DEF18 S_ENDPGM 0, implicit %0, implicit $vcc19 20...21 22