summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveInterval.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-09-25 21:51:24 +0000
committerMatthias Braun <matze@braunis.de>2015-09-25 21:51:24 +0000
commitc804cdb912aba6158c613a530346e8ef50d99b8c (patch)
treeb03da86ff29dc55e4f58372604b85ff4767105fe /llvm/lib/CodeGen/LiveInterval.cpp
parente6a2485e1a14f830e1c65c0f361aa92787d6ecf8 (diff)
downloadbcm5719-llvm-c804cdb912aba6158c613a530346e8ef50d99b8c.tar.gz
bcm5719-llvm-c804cdb912aba6158c613a530346e8ef50d99b8c.zip
TargetRegisterInfo: Introduce PrintLaneMask.
This makes it more convenient to print lane masks and lead to more uniform printing. llvm-svn: 248624
Diffstat (limited to 'llvm/lib/CodeGen/LiveInterval.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveInterval.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp
index fbda3dd5a03..efad36ffa3f 100644
--- a/llvm/lib/CodeGen/LiveInterval.cpp
+++ b/llvm/lib/CodeGen/LiveInterval.cpp
@@ -26,7 +26,6 @@
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Support/Debug.h"
-#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include <algorithm>
@@ -1066,7 +1065,7 @@ void LiveInterval::print(raw_ostream &OS) const {
super::print(OS);
// Print subranges
for (const SubRange &SR : subranges()) {
- OS << format(" L%04X ", SR.LaneMask) << SR;
+ OS << " L" << PrintLaneMask(SR.LaneMask) << ' ' << SR;
}
}
OpenPOWER on IntegriCloud