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/utils/TableGen/IntrinsicEmitter.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/utils/TableGen/IntrinsicEmitter.cpp')
| -rw-r--r-- | llvm/utils/TableGen/IntrinsicEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/IntrinsicEmitter.cpp b/llvm/utils/TableGen/IntrinsicEmitter.cpp index 37e024b1665..ba793ad9b93 100644 --- a/llvm/utils/TableGen/IntrinsicEmitter.cpp +++ b/llvm/utils/TableGen/IntrinsicEmitter.cpp @@ -448,7 +448,7 @@ void IntrinsicEmitter::EmitGenerator(const CodeGenIntrinsicTable &Ints, // If the entry fit in the table, just emit it. if (FixedEncodings[i] != ~0U) { - OS << "0x" << utohexstr(FixedEncodings[i]) << ", "; + OS << "0x" << Twine::utohexstr(FixedEncodings[i]) << ", "; continue; } |

