[llvm] [TableGen] Added submulticlass typechecking to template arg values. (PR #112904)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 19:43:34 PDT 2024


================
@@ -0,0 +1,21 @@
+// RUN: llvm-tblgen %s | FileCheck %s
+// XFAIL: vg_leak
+// CHECK:      def X0 { // C
+// CHECK-NEXT:   bit x = 1;
----------------
jofrn wrote:

This is `bit x = 0;` in the before case, yet `!cast<bits<8>>(-1)` is identical to `Val`.

https://github.com/llvm/llvm-project/pull/112904


More information about the llvm-commits mailing list