diff options
| author | Matthias Braun <matze@braunis.de> | 2015-09-25 21:51:24 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2015-09-25 21:51:24 +0000 |
| commit | c804cdb912aba6158c613a530346e8ef50d99b8c (patch) | |
| tree | b03da86ff29dc55e4f58372604b85ff4767105fe /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | |
| parent | e6a2485e1a14f830e1c65c0f361aa92787d6ecf8 (diff) | |
| download | bcm5719-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/LiveIntervalAnalysis.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp index 17ab6b58a25..8e592575935 100644 --- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -32,7 +32,6 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/Support/ErrorHandling.h" -#include "llvm/Support/Format.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/TargetRegisterInfo.h" @@ -995,7 +994,7 @@ private: if (TargetRegisterInfo::isVirtualRegister(Reg)) { dbgs() << PrintReg(Reg); if (LaneMask != 0) - dbgs() << format(" L%04X", LaneMask); + dbgs() << " L" << PrintLaneMask(LaneMask); } else { dbgs() << PrintRegUnit(Reg, &TRI); } |

