summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBasicBlock.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/MachineBasicBlock.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/MachineBasicBlock.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineBasicBlock.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp
index 97adb764896..7370996fe9f 100644
--- a/llvm/lib/CodeGen/MachineBasicBlock.cpp
+++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp
@@ -28,7 +28,6 @@
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/Support/Debug.h"
-#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
@@ -288,7 +287,7 @@ void MachineBasicBlock::print(raw_ostream &OS, ModuleSlotTracker &MST,
for (const auto &LI : make_range(livein_begin(), livein_end())) {
OS << ' ' << PrintReg(LI.PhysReg, TRI);
if (LI.LaneMask != ~0u)
- OS << format(":%08X", LI.LaneMask);
+ OS << ':' << PrintLaneMask(LI.LaneMask);
}
OS << '\n';
}
OpenPOWER on IntegriCloud