mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 13:27:05 +00:00
try a new fix for it
This commit is contained in:
parent
25ef9540ba
commit
ac90d1c78c
33
debian/patches/workaround-bug-63225.diff
vendored
33
debian/patches/workaround-bug-63225.diff
vendored
@ -1,13 +1,20 @@
|
||||
Index: llvm-toolchain-snapshot_17~++20230610085902+8e44b849da1c/llvm/lib/CodeGen/MachineScheduler.cpp
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_17~++20230610085902+8e44b849da1c.orig/llvm/lib/CodeGen/MachineScheduler.cpp
|
||||
+++ llvm-toolchain-snapshot_17~++20230610085902+8e44b849da1c/llvm/lib/CodeGen/MachineScheduler.cpp
|
||||
@@ -2813,7 +2813,7 @@ LLVM_DUMP_METHOD void SchedBoundary::dum
|
||||
dbgs() << ResName << "(" << UnitIdx << ") = ";
|
||||
if (SchedModel && SchedModel->enableIntervals()) {
|
||||
if (ReservedResourceSegments.count(StartIdx + UnitIdx))
|
||||
- dbgs() << ReservedResourceSegments.at(StartIdx + UnitIdx);
|
||||
+ dbgs() << "ReservedResourceSegments.at(StartIdx + UnitIdx)";
|
||||
else
|
||||
dbgs() << "{ }\n";
|
||||
} else
|
||||
diff --git a/llvm/include/llvm/CodeGen/MachineScheduler.h b/llvm/include/llvm/CodeGen/MachineScheduler.h
|
||||
--- a/llvm/include/llvm/CodeGen/MachineScheduler.h
|
||||
+++ b/llvm/include/llvm/CodeGen/MachineScheduler.h
|
||||
@@ -815,7 +815,6 @@
|
||||
const ResourceSegments &c2) {
|
||||
return c1._Intervals == c2._Intervals;
|
||||
}
|
||||
-#ifndef NDEBUG
|
||||
friend llvm::raw_ostream &operator<<(llvm::raw_ostream &os,
|
||||
const ResourceSegments &Segments) {
|
||||
os << "{ ";
|
||||
@@ -824,7 +823,6 @@
|
||||
os << "}\n";
|
||||
return os;
|
||||
}
|
||||
-#endif
|
||||
};
|
||||
|
||||
/// Each Scheduling boundary is associated with ready queues. It tracks the
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user