mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Track IR ordering of SelectionDAG nodes 3/4.
Remove the old IR ordering mechanism and switch to new one. Fix unit test failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182704 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -624,6 +624,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() {
|
||||
|
||||
DEBUG(dbgs() << "Optimized type-legalized selection DAG: BB#" << BlockNumber
|
||||
<< " '" << BlockName << "'\n"; CurDAG->dump());
|
||||
|
||||
}
|
||||
|
||||
{
|
||||
@ -790,9 +791,6 @@ void SelectionDAGISel::DoInstructionSelection() {
|
||||
continue;
|
||||
// Replace node.
|
||||
if (ResNode) {
|
||||
// Propagate ordering
|
||||
CurDAG->AssignOrdering(ResNode, CurDAG->GetOrdering(Node));
|
||||
|
||||
ReplaceUses(Node, ResNode);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user