The DEBUG message was hard to read because two Values were being printed
on the same line with only the delimiter "aliases". This change makes
us print each Value on its own line.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp | ||
---|---|---|
482 ↗ | (On Diff #64562) | I'd like to have some indentation for all lines following this, it looks easier to follow that this is a single message. |
Add indentation.
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp | ||
---|---|---|
482 ↗ | (On Diff #64562) | The way I've been reading it is looking for lines that start with "LSV". It's not great, but it sort of works. I just remembered, the reason I did this with no indentation is to match the "LSV: Stores to vectorize:" message. This one calls V->dump(), and we can't directly add indentation to that. I suppose we could do dbgs() << " " << *V << "\n", though... In practice the instructions will almost always have indentation because we (apparently) carry the indentation from the original ir. But it would be nice to be able to indent the strings in this message, so I went ahead and added the indentation everywhere. |