[PATCH] D112872: [SCEV] Remove invalid SCEVUnknowns from value map
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 30 11:40:11 PDT 2021
nikic created this revision.
nikic added reviewers: reames, mkazantsev.
Herald added subscribers: javed.absar, hiraditya.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
When invalidating a SCEVUnknown via CallbackVH, also drop all references to the SCEVUnknown or SCEV expressions using it from the ValueToExpr map. This means we no longer need to check for validity in getExistingSCEV().
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D112872
Files:
llvm/include/llvm/Analysis/ScalarEvolution.h
llvm/lib/Analysis/ScalarEvolution.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112872.383610.patch
Type: text/x-patch
Size: 3825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211030/aa1655c4/attachment-0001.bin>
More information about the llvm-commits
mailing list