[PATCH] D21344: [MemorySSA] Set CFGOnly correctly for MemorySSAWrapperPass

Geoff Berry via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 14 14:10:20 PDT 2016


gberry created this revision.
gberry added a subscriber: llvm-commits.
Herald added a subscriber: mcrosier.

http://reviews.llvm.org/D21344

Files:
  lib/Transforms/Utils/MemorySSA.cpp

Index: lib/Transforms/Utils/MemorySSA.cpp
===================================================================
--- lib/Transforms/Utils/MemorySSA.cpp
+++ lib/Transforms/Utils/MemorySSA.cpp
@@ -47,11 +47,12 @@
 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 {
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21344.60749.patch
Type: text/x-patch
Size: 865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160614/46b844ac/attachment.bin>


More information about the llvm-commits mailing list