[CodeGen] Rename DEBUG_TYPE for default hazard recognizer.
authorAustin Kerbow <Austin.Kerbow@amd.com>
Tue, 7 May 2019 22:09:04 +0000 (22:09 +0000)
committerAustin Kerbow <Austin.Kerbow@amd.com>
Tue, 7 May 2019 22:09:04 +0000 (22:09 +0000)
Summary:
The DEBUG_TYPE of the default hazard recognizer should be updated to
match the DEBUG_TYPE of the machine-scheduler pass.

Reviewers: rampitec

Reviewed By: rampitec

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D61359

llvm-svn: 360198

llvm/lib/CodeGen/TargetInstrInfo.cpp

index b3aeaf8..d397c33 100644 (file)
@@ -1009,7 +1009,7 @@ ScheduleHazardRecognizer *TargetInstrInfo::
 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.