1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib/Transforms
Geoff Berry aaa311cd7c [MemorySSA] Fix bug in CachingMemorySSAWalker::invalidateInfo
Summary:
CachingMemorySSAWalker::invalidateInfo was using IsCall to determine
which cache map needed to be cleared of entries referring to the invalidated
MemoryAccess, but there could also be entries referring to it in the
other cache map (value entries, not key entries).  This change just
clears both tables to be conservatively correct.

Also add a verifyRemoved() function, called when expensive
checks (i.e. XDEBUG) are enabled to verify that the invalidated
MemoryAccess object is not referenced in any of the caches.

Reviewers: dberlin, george.burgess.iv

Subscribers: mcrosier, llvm-commits

Differential Revision: http://reviews.llvm.org/D19388

llvm-svn: 267157
2016-04-22 14:44:10 +00:00
..
Hello Remove autoconf support 2016-01-26 21:29:08 +00:00
InstCombine [InstCombine] Preserve fast math flags when combining PHIs 2016-04-22 11:21:36 +00:00
Instrumentation Revert "Initial implementation of optimization bisect support." 2016-04-22 06:51:37 +00:00
IPO Revert "Initial implementation of optimization bisect support." 2016-04-22 06:51:37 +00:00
ObjCARC Revert "Initial implementation of optimization bisect support." 2016-04-22 06:51:37 +00:00
Scalar [EarlyCSE] Don't add the overflow flags to the hash 2016-04-22 14:12:50 +00:00
Utils [MemorySSA] Fix bug in CachingMemorySSAWalker::invalidateInfo 2016-04-22 14:44:10 +00:00
Vectorize Revert "Initial implementation of optimization bisect support." 2016-04-22 06:51:37 +00:00
CMakeLists.txt
LLVMBuild.txt