Compiler projects using llvm
# RUN: not llc -mtriple=amdgcn-amd-amdhsa -run-pass=none -verify-machineinstrs %s -o /dev/null 2>&1 | FileCheck %s

---
name: invalid_scavenge_fi
stack:
  - { id: 0, name: '', type: spill-slot, offset: 0, size: 16, alignment: 4, stack-id: noalloc }
  - { id: 1, name: '', type: spill-slot, offset: 16, size: 16, alignment: 4, stack-id: noalloc }
  - { id: 2, name: '', type: spill-slot, offset: 32, size: 16, alignment: 4, stack-id: noalloc }
machineFunctionInfo:
  # CHECK: [[@LINE+1]]:17: invalid fixed frame index 2
  scavengeFI: '%fixed-stack.2'

body:             |
  bb.0:
    S_ENDPGM 0

...