[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
This commit is contained in:
Quentin Colombet 2016-04-08 00:03:49 +00:00
parent 3780b68b8f
commit dcf5cf6a29
1 changed files with 1 additions and 1 deletions

View File

@ -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;