mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
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
This commit is contained in:
parent
cc9bda6a41
commit
53491b3db7
@ -243,7 +243,7 @@ void TDDataStructures::inlineGraphIntoCallees(DSGraph &Graph) {
|
|||||||
DSGraph &CalleeGraph = *CSI->first;
|
DSGraph &CalleeGraph = *CSI->first;
|
||||||
// Iterate through all of the call sites of this graph, cloning and merging
|
// Iterate through all of the call sites of this graph, cloning and merging
|
||||||
// any nodes required by the call.
|
// 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.
|
// Clone over any global nodes that appear in both graphs.
|
||||||
for (DSScalarMap::global_iterator
|
for (DSScalarMap::global_iterator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user