workaround issue 63225

This commit is contained in:
Sylvestre Ledru 2023-06-10 12:36:00 +02:00
parent 3303ec2af4
commit b05dc230b0
2 changed files with 14 additions and 0 deletions

View File

@ -148,3 +148,4 @@ unwind-force-pthread-dl.diff
force-sse2-compiler-rt.diff
bolt-disable-emit-relocs.patch
link-grpc.diff
workaround-bug-63225.diff

View File

@ -0,0 +1,13 @@
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