[PATCH] D44687: [SchedModel] Remove instregex entries that don't match any instructions (WIP)

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 20 11:05:06 PDT 2018


craig.topper added inline comments.


================
Comment at: utils/TableGen/CodeGenSchedule.cpp:109
     }
     for (auto &R : RegexList) {
+      int NumMatches = 0;
----------------
Do we need two loops here? Why are we building a list of Regexs and the iterating over it?


Repository:
  rL LLVM

https://reviews.llvm.org/D44687





More information about the llvm-commits mailing list