File tree Expand file tree Collapse file tree 1 file changed +9
-14
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -3997,28 +3997,23 @@ class BoUpSLP {
3997
3997
return Sum;
3998
3998
}
3999
3999
4000
- void dump(raw_ostream &OS) const {
4001
- if (isPartOfBundle()) {
4002
- if (!isSchedulingEntity()) {
4003
- OS << "/ " << *Inst << ", part of " << *FirstInBundle;
4004
- return;
4005
- }
4006
- OS << '[' << *Inst;
4000
+ void dump(raw_ostream &os) const {
4001
+ if (!isSchedulingEntity()) {
4002
+ os << "/ " << *Inst;
4003
+ } else if (NextInBundle) {
4004
+ os << '[' << *Inst;
4007
4005
ScheduleData *SD = NextInBundle;
4008
4006
while (SD) {
4009
- OS << ';' << *SD->Inst;
4007
+ os << ';' << *SD->Inst;
4010
4008
SD = SD->NextInBundle;
4011
4009
}
4012
- OS << ']';
4010
+ os << ']';
4013
4011
} else {
4014
- OS << *Inst;
4012
+ os << *Inst;
4015
4013
}
4016
4014
}
4017
4015
4018
- LLVM_DUMP_METHOD void dump() const {
4019
- dump(dbgs());
4020
- dbgs() << '\n';
4021
- }
4016
+ LLVM_DUMP_METHOD void dump() const { dump(dbgs()); }
4022
4017
4023
4018
Instruction *Inst = nullptr;
4024
4019
You can’t perform that action at this time.
0 commit comments