[llvm] [TableGen] New tblgen Pattern bit to disable GISel pattern imports (PR #88382)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 19 10:30:00 PDT 2024
================
@@ -1,4 +1,5 @@
// RUN: llvm-tblgen -gen-global-isel -I %p/../../include -I %p/Common %s -o - | FileCheck %s
+// RUN: llvm-tblgen -gen-global-isel -I %p/../../include -I %p/Common %s -o - -DIGNORE | FileCheck %s --check-prefix=CHECK0
----------------
jofrn wrote:
These records naturally do not produce a warning with `-warn-on-skipped-patterns` with or without `GISelShouldIgnore` though. This test just checks to see if the matcher omits them.
In the other test [test/TableGen/GlobalISelEmitterSkippedPatterns.td](https://github.com/llvm/llvm-project/pull/88382/files#diff-04bf1987d3970e5d2033f31034e8cb1f4ff40ab85db1f25aad8490ec25af9895), no record is generated in the MatchTable naturally, so that one simply checks for the warning.
https://github.com/llvm/llvm-project/pull/88382
More information about the llvm-commits
mailing list