File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3311,7 +3311,7 @@ class BoUpSLP {
3311
3311
3312
3312
/// For gather/buildvector/alt opcode (TODO) nodes, which are combined from
3313
3313
/// other nodes as a series of insertvector instructions.
3314
- SmallVector<std::pair<unsigned, unsigned>, 0 > CombinedEntriesWithIndices;
3314
+ SmallVector<std::pair<unsigned, unsigned>, 2 > CombinedEntriesWithIndices;
3315
3315
3316
3316
private:
3317
3317
/// The operands of each instruction in each lane Operands[op_index][lane].
@@ -3545,6 +3545,13 @@ class BoUpSLP {
3545
3545
for (const auto &EInfo : UserTreeIndices)
3546
3546
dbgs() << EInfo << ", ";
3547
3547
dbgs() << "\n";
3548
+ if (!CombinedEntriesWithIndices.empty()) {
3549
+ dbgs() << "Combined entries: ";
3550
+ interleaveComma(CombinedEntriesWithIndices, dbgs(), [&](const auto &P) {
3551
+ dbgs() << "Entry index " << P.first << " with offset " << P.second;
3552
+ });
3553
+ dbgs() << "\n";
3554
+ }
3548
3555
}
3549
3556
#endif
3550
3557
};
You can’t perform that action at this time.
0 commit comments