[llvm] Count implicit defs as well as explicit ones in the GlobalISel TableGen emitter. (PR #112673)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 17 01:41:25 PDT 2024
================
@@ -0,0 +1,13 @@
+// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -I %p/../../include -I %p/Common %s -o /dev/null 2>&1 < %s | FileCheck %s
+
+include "llvm/Target/Target.td"
+include "GlobalISelEmitterCommon.td"
+
+// CHECK-NOT: Skipped pattern: Src pattern result has 1 def(s) without the HasNoUse predicate set to true but Dst MI has no def
----------------
JL2210 wrote:
Ah, I see. Because if that error message changes a tiny bit, it'll succeed, even if there's a regression. I'll do `--implicit-check-not="Skipped pattern"` then
https://github.com/llvm/llvm-project/pull/112673
More information about the llvm-commits
mailing list