1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

[globalisel] Attempt to fix ARM bots that emit the correct number in the wrong place

This commit is contained in:
Daniel Sanders 2019-12-18 14:14:06 +00:00
parent d0f75ba65a
commit 1e69efeb0a

View File

@ -24,6 +24,7 @@
#include "GlobalISel/CodeExpander.h"
#include "GlobalISel/CodeExpansions.h"
#include "GlobalISel/GIMatchDag.h"
#include <cstdint>
using namespace llvm;
@ -289,8 +290,8 @@ static const DagInit *getDagWithOperatorOfSubClass(const Init &N,
}
StringRef makeNameForAnonInstr(CombineRule &Rule) {
return insertStrTab(
to_string(format("__anon%d_%d", Rule.getID(), Rule.allocUID())));
return insertStrTab(to_string(
format("__anon%" PRIu64 "_%" PRIu64, Rule.getID(), Rule.allocUID())));
}
StringRef makeDebugName(CombineRule &Rule, StringRef Name) {
@ -298,8 +299,8 @@ StringRef makeDebugName(CombineRule &Rule, StringRef Name) {
}
StringRef makeNameForAnonPredicate(CombineRule &Rule) {
return insertStrTab(
to_string(format("__anonpred%d_%d", Rule.getID(), Rule.allocUID())));
return insertStrTab(to_string(
format("__anonpred%" PRIu64 "_%" PRIu64, Rule.getID(), Rule.allocUID())));
}
void CombineRule::declareMatchData(StringRef PatternSymbol, StringRef Type,