[PATCH] D72939: [Schedule] Add a MultiHazardRecognizer

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 06:32:22 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/lib/CodeGen/MultiHazardRecognizer.cpp:23
+  for (auto R : Recognizers) {
+    delete R;
+  }
----------------
These should just be unique_ptr to begin with and avoid the explicit deletes here


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72939/new/

https://reviews.llvm.org/D72939



More information about the llvm-commits mailing list