summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/GlobalISelEmitter.cpp
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2017-05-17 09:25:08 +0000
committerDiana Picus <diana.picus@linaro.org>2017-05-17 09:25:08 +0000
commiteb2057ce1dc5466ba2a162d63108eceb324b45e8 (patch)
treecf1f8ac875bc8e25ccde0136ac4efc960898f1a0 /llvm/utils/TableGen/GlobalISelEmitter.cpp
parentf0444053512977d3a61d0c0a72bafd49a25a6a60 (diff)
downloadbcm5719-llvm-eb2057ce1dc5466ba2a162d63108eceb324b45e8.tar.gz
bcm5719-llvm-eb2057ce1dc5466ba2a162d63108eceb324b45e8.zip
Fixup r303240: Use llvm::to_string instead of std::to_string
It turns out some of the buildbots don't have std::to_string around, even in this day and age... llvm-svn: 303243
Diffstat (limited to 'llvm/utils/TableGen/GlobalISelEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/GlobalISelEmitter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/GlobalISelEmitter.cpp b/llvm/utils/TableGen/GlobalISelEmitter.cpp
index 3f77cac1772..2b624d95c66 100644
--- a/llvm/utils/TableGen/GlobalISelEmitter.cpp
+++ b/llvm/utils/TableGen/GlobalISelEmitter.cpp
@@ -1538,10 +1538,10 @@ Expected<BuildMIAction &> GlobalISelEmitter::createAndImportInstructionRenderer(
}
if (NumDefaultOps + Dst->getNumChildren() != DstINumUses)
- return failedImport("Expected " + std::to_string(DstINumUses) +
+ return failedImport("Expected " + llvm::to_string(DstINumUses) +
" used operands but found " +
- std::to_string(Dst->getNumChildren()) +
- " explicit ones and " + std::to_string(NumDefaultOps) +
+ llvm::to_string(Dst->getNumChildren()) +
+ " explicit ones and " + llvm::to_string(NumDefaultOps) +
" default ones");
return DstMIBuilder;
OpenPOWER on IntegriCloud