[llvm] [TableGen] New tblgen Pattern bit to disable DAG pattern imports during GISel (PR #88382)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 23 04:48:16 PDT 2024
================
@@ -23,6 +25,10 @@ def INSN : I<(outs GPR32:$dst), (ins GPR32:$src1, complex:$src2), []>;
//===- Bail out when we define a variable twice wrt complex suboperands. -===//
+#ifdef IGNORE
+let GISelShouldIgnore = 1 in
+#endif
+// CHECK0-NOT: warning: Skipped pattern: Error: {{.*}}
// CHECK: warning: Skipped pattern: Error: Complex suboperand x referenced by different operands: complex_rr:x:y and complex_rr:x:z.
----------------
jofrn wrote:
`// CHECK: warning: Skipped pattern: Error: Complex suboperand ...` is without the -DIGNORE, so we have it covered! :)
https://github.com/llvm/llvm-project/pull/88382
More information about the llvm-commits
mailing list