[PATCH] D61359: [CodeGen] Rename DEBUG_TYPE for default hazard recognizer.

Austin Kerbow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 30 18:48:51 PDT 2019


kerbowa created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

The DEBUG_TYPE of the default hazard recognizer should be updated to
match the DEBUG_TYPE of the machine-scheduler pass.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D61359

Files:
  llvm/lib/CodeGen/TargetInstrInfo.cpp


Index: llvm/lib/CodeGen/TargetInstrInfo.cpp
===================================================================
--- llvm/lib/CodeGen/TargetInstrInfo.cpp
+++ llvm/lib/CodeGen/TargetInstrInfo.cpp
@@ -1009,7 +1009,7 @@
 CreateTargetMIHazardRecognizer(const InstrItineraryData *II,
                                const ScheduleDAG *DAG) const {
   return (ScheduleHazardRecognizer *)
-    new ScoreboardHazardRecognizer(II, DAG, "misched");
+    new ScoreboardHazardRecognizer(II, DAG, "machine-scheduler");
 }
 
 // Default implementation of CreateTargetPostRAHazardRecognizer.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61359.197497.patch
Type: text/x-patch
Size: 576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190501/e3076fff/attachment.bin>


More information about the llvm-commits mailing list