[llvm] r295078 - [Hexagon] Remove leftover debugging code

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 14 09:37:44 PST 2017


Author: kparzysz
Date: Tue Feb 14 11:37:44 2017
New Revision: 295078

URL: http://llvm.org/viewvc/llvm-project?rev=295078&view=rev
Log:
[Hexagon] Remove leftover debugging code

Modified:
    llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp

Modified: llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp?rev=295078&r1=295077&r2=295078&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonInstrInfo.cpp Tue Feb 14 11:37:44 2017
@@ -639,10 +639,6 @@ unsigned HexagonInstrInfo::insertBranch(
     SmallPtrSet<MachineBasicBlock *, 8> VisitedBBs;
     MachineInstr *Loop = findLoopInstr(TBB, EndLoopOp, Cond[1].getMBB(),
                                        VisitedBBs);
-if (Loop == 0) {
-  MachineFunction &MF = *MBB.getParent();
-  MF.print(dbgs(), 0);
-}
     assert(Loop != 0 && "Inserting an ENDLOOP without a LOOP");
     Loop->getOperand(0).setMBB(TBB);
     // Add the ENDLOOP after the finding the LOOP0.




More information about the llvm-commits mailing list