aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorAustin Kerbow <Austin.Kerbow@amd.com>2023-01-22 21:26:08 -0800
committerAustin Kerbow <Austin.Kerbow@amd.com>2023-01-25 10:05:50 -0800
commit913837eaa3d14a5fb68179f8210dc097383a048c (patch)
treeac56d57d785627f49a48b0593f67036beaebd3fd /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parenta253a0bbe5ece7795633f8abeba7786e98a3e875 (diff)
downloadllvm-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