[llvm] r367771 - [SelectionDAG] Add node creation debug message to getMemIntrinsicNode.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 3 19:32:06 PDT 2019


Author: ctopper
Date: Sat Aug  3 19:32:06 2019
New Revision: 367771

URL: http://llvm.org/viewvc/llvm-project?rev=367771&view=rev
Log:
[SelectionDAG] Add node creation debug message to getMemIntrinsicNode.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp?rev=367771&r1=367770&r2=367771&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Sat Aug  3 19:32:06 2019
@@ -6604,7 +6604,9 @@ SDValue SelectionDAG::getMemIntrinsicNod
     createOperands(N, Ops);
   }
   InsertNode(N);
-  return SDValue(N, 0);
+  SDValue V(N, 0);
+  NewSDValueDbgMsg(V, "Creating new node: ", this);
+  return V;
 }
 
 SDValue SelectionDAG::getLifetimeNode(bool IsStart, const SDLoc &dl,




More information about the llvm-commits mailing list