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/MIRPrinter.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/MIRPrinter.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/MIRPrinter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp index 9081e660d10..0be7807064f 100644 --- a/llvm/lib/CodeGen/MIRPrinter.cpp +++ b/llvm/lib/CodeGen/MIRPrinter.cpp @@ -28,7 +28,6 @@ #include "llvm/IR/Module.h" #include "llvm/IR/ModuleSlotTracker.h" #include "llvm/MC/MCSymbol.h" -#include "llvm/Support/Format.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Support/YAMLTraits.h" @@ -481,7 +480,7 @@ void MIPrinter::print(const MachineBasicBlock &MBB) { First = false; printReg(LI.PhysReg, OS, TRI); if (LI.LaneMask != ~0u) - OS << format(":%08X", LI.LaneMask); + OS << ':' << PrintLaneMask(LI.LaneMask); } OS << "\n"; HasLineAttributes = true; |

