aboutsummaryrefslogtreecommitdiff
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/utils/TableGen/GICombinerEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/GICombinerEmitter.cpp b/llvm/utils/TableGen/GICombinerEmitter.cpp
index aa733e2..f30ae86 100644
--- a/llvm/utils/TableGen/GICombinerEmitter.cpp
+++ b/llvm/utils/TableGen/GICombinerEmitter.cpp
@@ -291,7 +291,7 @@ static const DagInit *getDagWithOperatorOfSubClass(const Init &N,
StringRef makeNameForAnonInstr(CombineRule &Rule) {
return insertStrTab(to_string(
- format("__anon%" PRIu64 "_%" PRIu64, Rule.getID(), Rule.allocUID())));
+ format("__anon%" PRIu64 "_%u", Rule.getID(), Rule.allocUID())));
}
StringRef makeDebugName(CombineRule &Rule, StringRef Name) {
@@ -300,7 +300,7 @@ StringRef makeDebugName(CombineRule &Rule, StringRef Name) {
StringRef makeNameForAnonPredicate(CombineRule &Rule) {
return insertStrTab(to_string(
- format("__anonpred%" PRIu64 "_%" PRIu64, Rule.getID(), Rule.allocUID())));
+ format("__anonpred%" PRIu64 "_%u", Rule.getID(), Rule.allocUID())));
}
void CombineRule::declareMatchData(StringRef PatternSymbol, StringRef Type,