[llvm] r328864 - [Hexagon] Pass pointer to SelectionDAG to dump functions
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 30 07:29:15 PDT 2018
Author: kparzysz
Date: Fri Mar 30 07:29:15 2018
New Revision: 328864
URL: http://llvm.org/viewvc/llvm-project?rev=328864&view=rev
Log:
[Hexagon] Pass pointer to SelectionDAG to dump functions
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp?rev=328864&r1=328863&r2=328864&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp Fri Mar 30 07:29:15 2018
@@ -1911,13 +1911,13 @@ SDValue HexagonDAGToDAGISel::balanceSubT
DEBUG(dbgs() << "--> No need to balance root (Weight=" << Weight
<< " Height=" << RootHeights[N] << "): ");
- DEBUG(N->dump());
+ DEBUG(N->dump(CurDAG));
return SDValue(N, 0);
}
DEBUG(dbgs() << "** Balancing root node: ");
- DEBUG(N->dump());
+ DEBUG(N->dump(CurDAG));
unsigned NOpcode = N->getOpcode();
@@ -2080,7 +2080,7 @@ SDValue HexagonDAGToDAGISel::balanceSubT
getTargetLowering()->isOffsetFoldingLegal(GANode)) {
DEBUG(dbgs() << "--> Combining GA and offset (" << Offset->getSExtValue()
<< "): ");
- DEBUG(GANode->dump());
+ DEBUG(GANode->dump(CurDAG));
SDValue NewTGA =
CurDAG->getTargetGlobalAddress(GANode->getGlobal(), SDLoc(GA.Value),
@@ -2243,7 +2243,7 @@ void HexagonDAGToDAGISel::rebalanceAddre
continue;
DEBUG(dbgs() << "** Rebalancing address calculation in node: ");
- DEBUG(N->dump());
+ DEBUG(N->dump(CurDAG));
// FindRoots
SmallVector<SDNode *, 4> Worklist;
@@ -2284,7 +2284,7 @@ void HexagonDAGToDAGISel::rebalanceAddre
NewBasePtr, N->getOperand(3));
DEBUG(dbgs() << "--> Final node: ");
- DEBUG(N->dump());
+ DEBUG(N->dump(CurDAG));
}
CurDAG->RemoveDeadNodes();
More information about the llvm-commits
mailing list