Skip to content

Commit 336b9bc

Browse files
committed
Add failing test
1 parent f0996ae commit 336b9bc

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# RUN: not llc -run-pass=none -o - %s 2>&1 | FileCheck %s --check-prefix=ERR
2+
3+
---
4+
name: flags
5+
registers:
6+
- { id: 0, class: _, flags: [ 'VFLAG_ERR' ] }
7+
body: |
8+
bb.0:
9+
liveins: $w0
10+
%0 = G_ADD $w0, $w0
11+
...
12+
# ERR: use of undefined register flag
13+
# ERR: VFLAG_ERR

0 commit comments

Comments
 (0)