[PATCH] D151311: [ScheduleDAG] Fix error assert target
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 27 01:32:00 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG13c603a41f13: [ScheduleDAG] Fix false assert target (authored by clearlov7e77, committed by laichunfeng <laichunfeng at tencent.com>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151311/new/
https://reviews.llvm.org/D151311
Files:
llvm/lib/CodeGen/ScheduleDAG.cpp
Index: llvm/lib/CodeGen/ScheduleDAG.cpp
===================================================================
--- llvm/lib/CodeGen/ScheduleDAG.cpp
+++ llvm/lib/CodeGen/ScheduleDAG.cpp
@@ -201,7 +201,7 @@
}
if (!isScheduled) {
if (D.isWeak()) {
- assert(WeakSuccsLeft > 0 && "WeakSuccsLeft will underflow!");
+ assert(N->WeakSuccsLeft > 0 && "WeakSuccsLeft will underflow!");
--N->WeakSuccsLeft;
} else {
assert(N->NumSuccsLeft > 0 && "NumSuccsLeft will underflow!");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151311.557391.patch
Type: text/x-patch
Size: 505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230927/0758daab/attachment.bin>
More information about the llvm-commits
mailing list