[llvm] r320589 - Fix link failure on one build bot introduced by r320584.

Nemanja Ivanovic via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 07:28:01 PST 2017


Author: nemanjai
Date: Wed Dec 13 07:28:01 2017
New Revision: 320589

URL: http://llvm.org/viewvc/llvm-project?rev=320589&view=rev
Log:
Fix link failure on one build bot introduced by r320584.

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCReduceCRLogicals.cpp

Modified: llvm/trunk/lib/Target/PowerPC/PPCReduceCRLogicals.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCReduceCRLogicals.cpp?rev=320589&r1=320588&r2=320589&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCReduceCRLogicals.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCReduceCRLogicals.cpp Wed Dec 13 07:28:01 2017
@@ -231,7 +231,8 @@ public:
   }
 };
 
-void PPCReduceCRLogicals::CRLogicalOpInfo::dump() {
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
+LLVM_DUMP_METHOD void PPCReduceCRLogicals::CRLogicalOpInfo::dump() {
   dbgs() << "CRLogicalOpMI: ";
   MI->dump();
   dbgs() << "IsBinary: " << IsBinary << ", FeedsISEL: " << FeedsISEL;
@@ -256,6 +257,7 @@ void PPCReduceCRLogicals::CRLogicalOpInf
     CopyDefs.second->dump();
   }
 }
+#endif
 
 PPCReduceCRLogicals::CRLogicalOpInfo
 PPCReduceCRLogicals::createCRLogicalOpInfo(MachineInstr &MIParam) {




More information about the llvm-commits mailing list