Don't strip modref bits when inlining down the call graph. This fixes
authorChris Lattner <sabre@nondot.org>
Sun, 20 Mar 2005 18:02:56 +0000 (18:02 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 20 Mar 2005 18:02:56 +0000 (18:02 +0000)
the DSGraph/2003-06-30-TopDownResolve.ll regression from last night.

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

lib/Analysis/DataStructure/TopDownClosure.cpp

index 4d6313683e0521ab407bbfa5988b542bc5236387..8190532176fabdb4a83d494d25b458b21b7d5e04 100644 (file)
@@ -243,7 +243,7 @@ void TDDataStructures::inlineGraphIntoCallees(DSGraph &Graph) {
     DSGraph &CalleeGraph = *CSI->first;
     // Iterate through all of the call sites of this graph, cloning and merging
     // any nodes required by the call.
-    ReachabilityCloner RC(CalleeGraph, Graph, DSGraph::StripModRefBits);
+    ReachabilityCloner RC(CalleeGraph, Graph, 0);
 
     // Clone over any global nodes that appear in both graphs.
     for (DSScalarMap::global_iterator