[PATCH] D75424: [MachinePipeliner] Fix a bug in Output Dependency chains
Jinsong Ji via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 24 08:35:04 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4a6ebc03ba89: [MachinePipeliner] Fix a bug in Output Dependency chains (authored by lsaba, committed by jsji).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75424/new/
https://reviews.llvm.org/D75424
Files:
llvm/lib/CodeGen/MachinePipeliner.cpp
Index: llvm/lib/CodeGen/MachinePipeliner.cpp
===================================================================
--- llvm/lib/CodeGen/MachinePipeliner.cpp
+++ llvm/lib/CodeGen/MachinePipeliner.cpp
@@ -2368,7 +2368,7 @@
continue;
EarlyCycle = std::min(EarlyCycle, it->second);
for (const auto &PI : PrevSU->Preds)
- if (PI.getKind() == SDep::Order || Dep.getKind() == SDep::Output)
+ if (PI.getKind() == SDep::Order || PI.getKind() == SDep::Output)
Worklist.push_back(PI);
Visited.insert(PrevSU);
}
@@ -2391,7 +2391,7 @@
continue;
LateCycle = std::max(LateCycle, it->second);
for (const auto &SI : SuccSU->Succs)
- if (SI.getKind() == SDep::Order || Dep.getKind() == SDep::Output)
+ if (SI.getKind() == SDep::Order || SI.getKind() == SDep::Output)
Worklist.push_back(SI);
Visited.insert(SuccSU);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75424.252337.patch
Type: text/x-patch
Size: 885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200324/6577f197/attachment.bin>
More information about the llvm-commits
mailing list