1 # RUN: llc -mtriple=amdgcn-amd-amdhsa -run-pass=none -verify-machineinstrs %s -o - | FileCheck %s
2 # RUN: llc -mtriple=amdgcn-amd-amdhsa -run-pass=none -simplify-mir -verify-machineinstrs %s -o - | FileCheck %s
4 # CHECK-LABEL: name: empty_wwm_regs{{$}}
5 # CHECK: machineFunctionInfo:
6 # CHECK-NOT: wwmReservedRegs
17 # CHECK-LABEL: name: one_reg{{$}}
18 # CHECK: machineFunctionInfo:
19 # CHECK: wwmReservedRegs:
20 # CHECK-NEXT: - '$vgpr0'
24 wwmReservedRegs: ['$vgpr0']
31 # CHECK-LABEL: name: two_reg{{$}}
32 # CHECK: machineFunctionInfo:
33 # CHECK: wwmReservedRegs:
34 # CHECK-NEXT: - '$vgpr0'
35 # CHECK-NEXT: - '$vgpr1'
39 wwmReservedRegs: ['$vgpr0', '$vgpr1']