summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-08-18 06:28:00 +0000
committerCraig Topper <craig.topper@intel.com>2019-08-18 06:28:00 +0000
commitf43106e341d16448921b2186ae225a859c7b5aa8 (patch)
tree1926505fddc3fcaa4e23a7b5f5a5d47cfefdd1e7
parent479f3bdb2c87838e5edd57e8bf7718f8307cf935 (diff)
downloadbcm5719-llvm-f43106e341d16448921b2186ae225a859c7b5aa8.tar.gz
bcm5719-llvm-f43106e341d16448921b2186ae225a859c7b5aa8.zip
[SelectionDAG] Add a node creation debug message to getMachineNode.
llvm-svn: 369204
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index d8711f82ad1..6d6d65e55e6 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -7915,6 +7915,7 @@ MachineSDNode *SelectionDAG::getMachineNode(unsigned Opcode, const SDLoc &DL,
CSEMap.InsertNode(N, IP);
InsertNode(N);
+ NewSDValueDbgMsg(SDValue(N, 0), "Creating new machine node: ", this);
return N;
}
OpenPOWER on IntegriCloud