diff options
author | Austin Kerbow <Austin.Kerbow@amd.com> | 2023-01-22 21:26:08 -0800 |
---|---|---|
committer | Austin Kerbow <Austin.Kerbow@amd.com> | 2023-01-25 10:05:50 -0800 |
commit | 913837eaa3d14a5fb68179f8210dc097383a048c (patch) | |
tree | ac56d57d785627f49a48b0593f67036beaebd3fd /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | a253a0bbe5ece7795633f8abeba7786e98a3e875 (diff) | |
download | llvm-913837eaa3d14a5fb68179f8210dc097383a048c.zip llvm-913837eaa3d14a5fb68179f8210dc097383a048c.tar.gz llvm-913837eaa3d14a5fb68179f8210dc097383a048c.tar.bz2 |
[ScheduleDAG] Fix removing edges with weak deps
In SUnit::removePred edges are removed from the Preds and Succs lists before
updating the bookkeeping. This could result in incorrect values for
NumPreds/SuccsLeft and cause WeakPreds/SuccsLeft to underflow, since the
incorrect SDep will be used to update these values.
Reviewed By: rampitec
Differential Revision: https://reviews.llvm.org/D142325
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions