[MemorySSA] remove cruft; NFC.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Mon, 9 Apr 2018 23:09:27 +0000 (23:09 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Mon, 9 Apr 2018 23:09:27 +0000 (23:09 +0000)
commit0034e393d9bed8bcfb4070bafc99415209253331
tree7610a637f7da2d61bc59fc23a549c81a48fbd85d
parent1d92aa73803ae51aa92f02b291d4915010ebf0f4
[MemorySSA] remove cruft; NFC.

The caching walker used to hold its own caches, which made its `reset()`
function meaningful. Since caching has been moved out of it, there's no
reason to continue to have these cache-related methods.

Similarly, the EXPENSIVE_CHECKS block that's getting removed used to
rerun the query with caching disabled. Since that's how we always do
queries now, it's redundant.

llvm-svn: 329638
llvm/lib/Analysis/MemorySSA.cpp