[llvm] [MIR] Serialize virtual register flags (PR #110228)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 4 01:59:16 PDT 2024
================
@@ -0,0 +1,13 @@
+# RUN: not llc -run-pass=none -o - %s 2>&1 | FileCheck %s --check-prefix=ERR
+
+---
+name: flags
+registers:
+ - { id: 0, class: _, flags: [ 'VFLAG_ERR' ] }
+body: |
+ bb.0:
+ liveins: $w0
+ %0 = G_ADD $w0, $w0
+...
+# ERR: use of undefined register flag
+# ERR: VFLAG_ERR
----------------
arsenm wrote:
Missing end of file line
https://github.com/llvm/llvm-project/pull/110228
More information about the llvm-commits
mailing list