Files
clang-p2996/llvm/test/CodeGen/MIR/AMDGPU/mfi-parse-error-stack-ptr-offset-reg.mir
Jay Foad 479145a5c2 [AMDGPU] Avoid hard-coded line numbers in error message checks
This makes it easier for us to maintain downstream changes to some of
these tests. NFC.

Differential Revision: https://reviews.llvm.org/D78716
2020-04-23 21:06:09 +01:00

12 lines
269 B
YAML

# RUN: not llc -march=amdgcn -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
---
name: empty_stack_ptr_offset_reg
machineFunctionInfo:
stackPtrOffsetReg: ''
# CHECK: :[[@LINE-1]]:{{[0-9]+}}: expected a named register
body: |
bb.0:
S_ENDPGM
...