Skip to content

Commit 616f534

Browse files
committed
Add reg parse failure test
1 parent 86b0016 commit 616f534

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# RUN: not llc -mtriple=amdgcn-amd-amdhsa -run-pass=none -o /dev/null %s 2>&1 | FileCheck %s --check-prefix=ERR
2+
3+
---
4+
name: invalid_reg_spill_phys_vgprs
5+
machineFunctionInfo:
6+
# ERR: [[@LINE+1]]:21: unknown register name 'notareg'
7+
spillPhysVGPRs: ['$notareg']
8+
body: |
9+
bb.0:
10+
S_ENDPGM 0
11+
12+
...

0 commit comments

Comments
 (0)