diff --git a/llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp b/llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp index 9ba1a6a48385..b2e9cc620d15 100644 --- a/llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp +++ b/llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp @@ -1911,13 +1911,13 @@ SDValue HexagonDAGToDAGISel::balanceSubTree(SDNode *N, bool TopLevel) { 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::balanceSubTree(SDNode *N, bool TopLevel) { 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::rebalanceAddressTrees() { continue; DEBUG(dbgs() << "** Rebalancing address calculation in node: "); - DEBUG(N->dump()); + DEBUG(N->dump(CurDAG)); // FindRoots SmallVector Worklist; @@ -2284,7 +2284,7 @@ void HexagonDAGToDAGISel::rebalanceAddressTrees() { NewBasePtr, N->getOperand(3)); DEBUG(dbgs() << "--> Final node: "); - DEBUG(N->dump()); + DEBUG(N->dump(CurDAG)); } CurDAG->RemoveDeadNodes();