From: Chris Lattner Date: Sun, 20 Mar 2005 18:02:56 +0000 (+0000) Subject: Don't strip modref bits when inlining down the call graph. This fixes X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=53491b3db70ca18855d3010c8a34f2e4acef5ecc;p=oota-llvm.git Don't strip modref bits when inlining down the call graph. This fixes 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 --- diff --git a/lib/Analysis/DataStructure/TopDownClosure.cpp b/lib/Analysis/DataStructure/TopDownClosure.cpp index 4d6313683e0..8190532176f 100644 --- a/lib/Analysis/DataStructure/TopDownClosure.cpp +++ b/lib/Analysis/DataStructure/TopDownClosure.cpp @@ -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