Skip to content

Commit aa76832

Browse files
committed
add not a reg test
1 parent 616f534 commit aa76832

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]]:20: expected a named register
7+
spillPhysVGPRs: [123]
8+
body: |
9+
bb.0:
10+
S_ENDPGM 0
11+
12+
...

0 commit comments

Comments
 (0)