Skip to content

Commit dbb0605

Browse files
committed
[SelectionDAG] Add NewSDValueDbgMsg to getAtomic.
1 parent 054ee17 commit dbb0605

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9024,7 +9024,9 @@ SDValue SelectionDAG::getAtomic(unsigned Opcode, const SDLoc &dl, EVT MemVT,
90249024

90259025
CSEMap.InsertNode(N, IP);
90269026
InsertNode(N);
9027-
return SDValue(N, 0);
9027+
SDValue V(N, 0);
9028+
NewSDValueDbgMsg(V, "Creating new node: ", this);
9029+
return V;
90289030
}
90299031

90309032
SDValue SelectionDAG::getAtomicCmpSwap(unsigned Opcode, const SDLoc &dl,

0 commit comments

Comments
 (0)