[llvm] r279079 - [IRCE] Switch over to LLVM_DUMP_METHOD. NFCI.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 08:55:50 PDT 2016


Author: davide
Date: Thu Aug 18 10:55:49 2016
New Revision: 279079

URL: http://llvm.org/viewvc/llvm-project?rev=279079&view=rev
Log:
[IRCE] Switch over to LLVM_DUMP_METHOD. NFCI.

Modified:
    llvm/trunk/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp?rev=279079&r1=279078&r2=279079&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp Thu Aug 18 10:55:49 2016
@@ -151,11 +151,10 @@ public:
     OS << " Operand: " << getCheckUse()->getOperandNo() << "\n";
   }
 
-#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
+  LLVM_DUMP_METHOD
   void dump() {
     print(dbgs());
   }
-#endif
 
   Use *getCheckUse() const { return CheckUse; }
 




More information about the llvm-commits mailing list