diff options
author | Craig Topper <craig.topper@intel.com> | 2017-11-27 19:54:57 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-11-27 19:54:57 +0000 |
commit | 820ce043771378796551d94b8dfe3cd266c3354a (patch) | |
tree | 0fb8dc87a2f6c3872018c22c61e8c18c7f5d69f9 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 265a03775ee7fb563ec93de7dcdb8e85aee7abf3 (diff) | |
download | bcm5719-llvm-820ce043771378796551d94b8dfe3cd266c3354a.tar.gz bcm5719-llvm-820ce043771378796551d94b8dfe3cd266c3354a.zip |
[SelectionDAG] Add a debug message when vector_shuffle nodes are created.
We print a debug message when most nodes are created, but getVectorShuffle was missing.
llvm-svn: 319085
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 805732c5b83..22e7885d005 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -1638,7 +1638,9 @@ SDValue SelectionDAG::getVectorShuffle(EVT VT, const SDLoc &dl, SDValue N1, CSEMap.InsertNode(N, IP); InsertNode(N); - return SDValue(N, 0); + SDValue V = SDValue(N, 0); + NewSDValueDbgMsg(V, "Creating new node: ", this); + return V; } SDValue SelectionDAG::getCommutedVectorShuffle(const ShuffleVectorSDNode &SV) { |