17 lines · plain
1# RUN: not llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -run-pass=greedy -verify-machineinstrs -filetype=null %s 2>&1 | FileCheck --implicit-check-not=error %s2 3# Check that there isn't an assert if we try to allocate a virtual register from4# a class where all registers are reserved. All AGPRs are reserved on subtargets5# that do not have them.6 7# CHECK: error: <unknown>:0:0: no registers from class available to allocate in function 'use_agpr'8 9---10name: use_agpr11tracksRegLiveness: true12body: |13 bb.0:14 %0:agpr_32 = IMPLICIT_DEF15 S_ENDPGM 0, implicit %016...17