[llvm] r315783 - [globalisel][tablegen] Fix undefined references to dump()

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 13 17:56:01 PDT 2017


Author: dsanders
Date: Fri Oct 13 17:56:01 2017
New Revision: 315783

URL: http://llvm.org/viewvc/llvm-project?rev=315783&view=rev
Log:
[globalisel][tablegen] Fix undefined references to dump()

Two debugging statements snuck into the commit.

Modified:
    llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h

Modified: llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h?rev=315783&r1=315782&r2=315783&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h (original)
+++ llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h Fri Oct 13 17:56:01 2017
@@ -344,8 +344,6 @@ bool InstructionSelector::executeMatchTa
                    << OtherOpIdx << "])\n");
       assert(State.MIs[InsnID] != nullptr && "Used insn before defined");
       assert(State.MIs[OtherInsnID] != nullptr && "Used insn before defined");
-      State.MIs[InsnID]->getOperand(OpIdx).dump();
-      State.MIs[OtherInsnID]->getOperand(OtherOpIdx).dump();
       if (!State.MIs[InsnID]->getOperand(OpIdx).isIdenticalTo(
               State.MIs[OtherInsnID]->getOperand(OtherInsnID))) {
         if (handleReject() == RejectAndGiveUp)




More information about the llvm-commits mailing list