forked from OSchip/llvm-project
[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:
parent
3780b68b8f
commit
dcf5cf6a29
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue