[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 11:16:50 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:

There is a check for warning omission in `GlobalISelEmitterSkippedPatterns.td`.

The .inc check test can be removed. (Alternatively, a test that skips the import/warning in global yet keeps it within the Table in dag, so that we can check both .inc and warning in the same file could be useful.) Should I just remove it or add a new test (with or without .inc check)? We have the warning check already.

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


More information about the llvm-commits mailing list