Revert 124301.

llvm-svn: 124327
This commit is contained in:
Devang Patel 2011-01-26 21:41:22 +00:00
parent 9636753d39
commit b370bf329a
1 changed files with 1 additions and 5 deletions

View File

@ -539,12 +539,8 @@ static void ProcessSourceNode(SDNode *N, SelectionDAG *DAG,
SmallVector<std::pair<unsigned, MachineInstr*>, 32> &Orders,
SmallSet<unsigned, 8> &Seen) {
unsigned Order = DAG->GetOrdering(N);
if (!Order || !Seen.insert(Order)) {
// Process any valid SDDbgValues even if node does not have any order
// assigned.
ProcessSDDbgValues(N, DAG, Emitter, Orders, VRBaseMap, 0);
if (!Order || !Seen.insert(Order))
return;
}
MachineBasicBlock *BB = Emitter.getBlock();
if (Emitter.getInsertPos() == BB->begin() || BB->back().isPHI()) {