[llvm] [TableGen] New tblgen Pattern bit to disable DAGISel pattern imports (PR #88382)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 19 05:03:38 PDT 2024


================
@@ -165,8 +165,21 @@ void DAGISelEmitter::run(raw_ostream &OS) {
   // Add all the patterns to a temporary list so we can sort them.
   Records.startTimer("Sort patterns");
   std::vector<const PatternToMatch *> Patterns;
-  for (const PatternToMatch &PTM : CGP.ptms())
+  for (const PatternToMatch &PTM : CGP.ptms()) {
----------------
Pierre-vh wrote:

I thought this only affected GlobalISel's import of DAG patterns, why does DAGISelEmitter need changes too?

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


More information about the llvm-commits mailing list