diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-12-28 16:58:54 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-12-28 16:58:54 +0000 |
commit | 3a13ed60ba26194b8fce1f69d62c87835ca2dfb0 (patch) | |
tree | 63e58f5dcc076c6988d1f2a62445f5b0d3346b65 /llvm/lib/Analysis/DemandedBits.cpp | |
parent | b4c5c2dd15371ab1a1d33049a7f3ea7ac4c79da6 (diff) | |
download | bcm5719-llvm-3a13ed60ba26194b8fce1f69d62c87835ca2dfb0.tar.gz bcm5719-llvm-3a13ed60ba26194b8fce1f69d62c87835ca2dfb0.zip |
Avoid int to string conversion in Twine or raw_ostream contexts.
Some output changes from uppercase hex to lowercase hex, no other functionality change intended.
llvm-svn: 321526
Diffstat (limited to 'llvm/lib/Analysis/DemandedBits.cpp')
-rw-r--r-- | llvm/lib/Analysis/DemandedBits.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/DemandedBits.cpp b/llvm/lib/Analysis/DemandedBits.cpp index 7276f2524fe..de7d21f9f13 100644 --- a/llvm/lib/Analysis/DemandedBits.cpp +++ b/llvm/lib/Analysis/DemandedBits.cpp @@ -385,8 +385,8 @@ bool DemandedBits::isInstructionDead(Instruction *I) { void DemandedBits::print(raw_ostream &OS) { performAnalysis(); for (auto &KV : AliveBits) { - OS << "DemandedBits: 0x" << utohexstr(KV.second.getLimitedValue()) << " for " - << *KV.first << "\n"; + OS << "DemandedBits: 0x" << Twine::utohexstr(KV.second.getLimitedValue()) + << " for " << *KV.first << '\n'; } } |