try a new fix for it

This commit is contained in:
Sylvestre Ledru 2023-06-13 16:39:15 +02:00
parent 25ef9540ba
commit ac90d1c78c

View File

@ -1,13 +1,20 @@
Index: llvm-toolchain-snapshot_17~++20230610085902+8e44b849da1c/llvm/lib/CodeGen/MachineScheduler.cpp diff --git a/llvm/include/llvm/CodeGen/MachineScheduler.h b/llvm/include/llvm/CodeGen/MachineScheduler.h
=================================================================== --- a/llvm/include/llvm/CodeGen/MachineScheduler.h
--- llvm-toolchain-snapshot_17~++20230610085902+8e44b849da1c.orig/llvm/lib/CodeGen/MachineScheduler.cpp +++ b/llvm/include/llvm/CodeGen/MachineScheduler.h
+++ llvm-toolchain-snapshot_17~++20230610085902+8e44b849da1c/llvm/lib/CodeGen/MachineScheduler.cpp @@ -815,7 +815,6 @@
@@ -2813,7 +2813,7 @@ LLVM_DUMP_METHOD void SchedBoundary::dum const ResourceSegments &c2) {
dbgs() << ResName << "(" << UnitIdx << ") = "; return c1._Intervals == c2._Intervals;
if (SchedModel && SchedModel->enableIntervals()) { }
if (ReservedResourceSegments.count(StartIdx + UnitIdx)) -#ifndef NDEBUG
- dbgs() << ReservedResourceSegments.at(StartIdx + UnitIdx); friend llvm::raw_ostream &operator<<(llvm::raw_ostream &os,
+ dbgs() << "ReservedResourceSegments.at(StartIdx + UnitIdx)"; const ResourceSegments &Segments) {
else os << "{ ";
dbgs() << "{ }\n"; @@ -824,7 +823,6 @@
} else os << "}\n";
return os;
}
-#endif
};
/// Each Scheduling boundary is associated with ready queues. It tracks the