From: Simon Pilgrim Date: Tue, 12 Mar 2019 11:31:06 +0000 (+0000) Subject: Try to fix SLPVectorizer BoUpSLP::BoEdgeInfo::dump visibility on non-debug builds X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28f32b6ce9091243f563ac964a1f4d6e3695a910;p=llvm 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 --- 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: