forked from OSchip/llvm-project
SLPVectorizer: fix build problem in Release configuration
llvm-svn: 214496
This commit is contained in:
parent
91af42fb7b
commit
690dd037d9
|
@ -642,8 +642,10 @@ private:
|
|||
bool IsScheduled;
|
||||
};
|
||||
|
||||
#ifndef NDEBUG
|
||||
friend raw_ostream &operator<<(raw_ostream &os,
|
||||
const BoUpSLP::ScheduleData &SD);
|
||||
#endif
|
||||
|
||||
/// Contains all scheduling data for a basic block.
|
||||
///
|
||||
|
@ -828,10 +830,12 @@ private:
|
|||
IRBuilder<> Builder;
|
||||
};
|
||||
|
||||
#ifndef NDEBUG
|
||||
raw_ostream &operator<<(raw_ostream &os, const BoUpSLP::ScheduleData &SD) {
|
||||
SD.dump(os);
|
||||
return os;
|
||||
}
|
||||
#endif
|
||||
|
||||
void BoUpSLP::buildTree(ArrayRef<Value *> Roots,
|
||||
ArrayRef<Value *> UserIgnoreLst) {
|
||||
|
|
Loading…
Reference in New Issue