diff options
| author | Quentin Colombet <qcolombet@apple.com> | 2016-04-08 00:03:49 +0000 |
|---|---|---|
| committer | Quentin Colombet <qcolombet@apple.com> | 2016-04-08 00:03:49 +0000 |
| commit | dcf5cf6a29c921757c3b3686299048b82c41a5ea (patch) | |
| tree | 6775bf95fb98087c2c3692dd8db998ef986dfd64 /llvm/lib | |
| parent | 3780b68b8f4c2006840d0b3446152350e14b41f4 (diff) | |
| download | bcm5719-llvm-dcf5cf6a29c921757c3b3686299048b82c41a5ea.tar.gz bcm5719-llvm-dcf5cf6a29c921757c3b3686299048b82c41a5ea.zip | |
[RegisterBankInfo] Make the debug output more compact.
Print the mask of the partial mapping as an hexadecimal instead of a
binary value.
llvm-svn: 265754
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp b/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp index f3bf1690ac8..b312112bb1c 100644 --- a/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp +++ b/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp @@ -364,7 +364,7 @@ void RegisterBankInfo::PartialMapping::verify() const { void RegisterBankInfo::PartialMapping::print(raw_ostream &OS) const { SmallString<128> MaskStr; - Mask.toString(MaskStr, /*Radix*/ 2, /*Signed*/ 0, /*formatAsCLiteral*/ true); + Mask.toString(MaskStr, /*Radix*/ 16, /*Signed*/ 0, /*formatAsCLiteral*/ true); OS << "Mask(" << Mask.getBitWidth() << ") = " << MaskStr << ", RegBank = "; if (RegBank) OS << *RegBank; |

