Skip to content

Commit 5db95ef

Browse files
committed
Try to fix SLPVectorizer BoUpSLP::BoEdgeInfo::dump visibility on non-debug builds
llvm-svn: 355912
1 parent e58dde2 commit 5db95ef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -613,13 +613,11 @@ class BoUpSLP {
613613
int Idx = -1;
614614
/// The operand index of the use.
615615
unsigned EdgeIdx = UINT_MAX;
616-
#ifndef NDEBUG
616+
617617
/// Debug print.
618618
void dump(raw_ostream &OS) const {
619619
OS << "{User:" << Idx << " EdgeIdx:" << EdgeIdx << "}";
620620
}
621-
LLVM_DUMP_METHOD void dump() const { dump(dbgs()); }
622-
#endif
623621
};
624622

625623
private:

0 commit comments

Comments
 (0)