diff options
author | Nikita Popov <npopov@redhat.com> | 2022-02-17 10:03:58 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-03-07 09:28:28 +0100 |
commit | 8133778d3c8d481891143e21e0c5081a02a9889d (patch) | |
tree | adc0f5cba1def07cf0066c60fc4cbf2bd5a4d50b /clang/lib/Basic/Module.cpp | |
parent | 7b969b0bb53e5dcf23e0ddba977031fb104b63ec (diff) | |
download | llvm-8133778d3c8d481891143e21e0c5081a02a9889d.zip llvm-8133778d3c8d481891143e21e0c5081a02a9889d.tar.gz llvm-8133778d3c8d481891143e21e0c5081a02a9889d.tar.bz2 |
[SCEV] Fully invalidate SCEVUnknown on RAUW
When a SCEVUnknown gets RAUWd, we currently drop it from the folding
set, but don't forget memoized values. I believe we should be
treating RAUW the same way as deletion here and invalidate all
caches and dependent expressions.
I don't have any specific cases where this causes issues right now,
but it does address the FIXME in https://reviews.llvm.org/D119488.
Differential Revision: https://reviews.llvm.org/D120033
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions