]> granicus.if.org Git - llvm/commit
AssumptionCache: remove old affected values after RAUW.
authorTim Northover <tnorthover@apple.com>
Fri, 16 Aug 2019 09:34:27 +0000 (09:34 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 16 Aug 2019 09:34:27 +0000 (09:34 +0000)
commita7b201b7469566090c281f46634765a13efb6a16
tree4e3d55be52336ba69b39e4add3c45f51c6faf46f
parent5d4bd49c4d4c99b033d3dabc87d0048cbd06d4ff
AssumptionCache: remove old affected values after RAUW.

If they're left in the cache then they can't be removed efficiently when the
cache is notified to unlink a @llvm.assume call, and that can lead to values
from different functions entirely remaining there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369091 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/AssumptionCache.h
lib/Analysis/AssumptionCache.cpp