]> granicus.if.org Git - llvm/commitdiff
[MemorySSA] Set CFGOnly correctly for MemorySSAWrapperPass
authorGeoff Berry <gberry@codeaurora.org>
Tue, 14 Jun 2016 21:19:40 +0000 (21:19 +0000)
committerGeoff Berry <gberry@codeaurora.org>
Tue, 14 Jun 2016 21:19:40 +0000 (21:19 +0000)
Subscribers: mcrosier, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272712 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/MemorySSA.cpp

index 85d21b1007e33a17d6346400efbde9e46ffdab4f..26c4931c78e097132af106627a0acd4ce94b7967 100644 (file)
@@ -47,11 +47,12 @@ STATISTIC(NumClobberCacheLookups, "Number of Memory SSA version cache lookups");
 STATISTIC(NumClobberCacheHits, "Number of Memory SSA version cache hits");
 STATISTIC(NumClobberCacheInserts, "Number of MemorySSA version cache inserts");
 
-INITIALIZE_PASS_BEGIN(MemorySSAWrapperPass, "memoryssa", "Memory SSA", true,
+INITIALIZE_PASS_BEGIN(MemorySSAWrapperPass, "memoryssa", "Memory SSA", false,
                       true)
 INITIALIZE_PASS_DEPENDENCY(DominatorTreeWrapperPass)
 INITIALIZE_PASS_DEPENDENCY(AAResultsWrapperPass)
-INITIALIZE_PASS_END(MemorySSAWrapperPass, "memoryssa", "Memory SSA", true, true)
+INITIALIZE_PASS_END(MemorySSAWrapperPass, "memoryssa", "Memory SSA", false,
+                    true)
 
 namespace llvm {