forked from OSchip/llvm-project
parent
9636753d39
commit
b370bf329a
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue