From 28f32b6ce9091243f563ac964a1f4d6e3695a910 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Tue, 12 Mar 2019 11:31:06 +0000 Subject: [PATCH] Try to fix SLPVectorizer BoUpSLP::BoEdgeInfo::dump visibility on non-debug builds git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355912 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Vectorize/SLPVectorizer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Transforms/Vectorize/SLPVectorizer.cpp b/lib/Transforms/Vectorize/SLPVectorizer.cpp index 319b99b8d19..a8b785691b1 100644 --- a/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -613,13 +613,11 @@ public: int Idx = -1; /// The operand index of the use. unsigned EdgeIdx = UINT_MAX; -#ifndef NDEBUG + /// Debug print. void dump(raw_ostream &OS) const { OS << "{User:" << Idx << " EdgeIdx:" << EdgeIdx << "}"; } - LLVM_DUMP_METHOD void dump() const { dump(dbgs()); } -#endif }; private: -- 2.11.0