[PATCH] D113671: [CodeGen] Tweak whitespace in LiveInterval printing
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 11 06:46:52 PST 2021
foad updated this revision to Diff 386502.
foad added a comment.
Single quotes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113671/new/
https://reviews.llvm.org/D113671
Files:
llvm/lib/CodeGen/LiveInterval.cpp
Index: llvm/lib/CodeGen/LiveInterval.cpp
===================================================================
--- llvm/lib/CodeGen/LiveInterval.cpp
+++ llvm/lib/CodeGen/LiveInterval.cpp
@@ -1020,7 +1020,7 @@
// Print value number info.
if (getNumValNums()) {
- OS << " ";
+ OS << ' ';
unsigned vnum = 0;
for (const_vni_iterator i = vni_begin(), e = vni_end(); i != e;
++i, ++vnum) {
@@ -1039,8 +1039,8 @@
}
void LiveInterval::SubRange::print(raw_ostream &OS) const {
- OS << " L" << PrintLaneMask(LaneMask) << ' '
- << static_cast<const LiveRange&>(*this);
+ OS << " L" << PrintLaneMask(LaneMask) << ' '
+ << static_cast<const LiveRange &>(*this);
}
void LiveInterval::print(raw_ostream &OS) const {
@@ -1049,7 +1049,7 @@
// Print subranges
for (const SubRange &SR : subranges())
OS << SR;
- OS << " weight:" << Weight;
+ OS << " weight:" << Weight;
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113671.386502.patch
Type: text/x-patch
Size: 973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211111/f3c88e37/attachment.bin>
More information about the llvm-commits
mailing list