Skip to content

Commit 1dbc486

Browse files
committed
[globalisel] Fix another mismatch between %d and the RuleID type
1 parent 6e6b6a5 commit 1dbc486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/GICombinerEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ bool CombineRule::parseDefs() {
332332
getDefOfSubClass(*Defs->getArg(I), "GIDefMatchData")) {
333333
declareMatchData(Defs->getArgNameStr(I),
334334
MatchDataRec->getValueAsString("Type"),
335-
llvm::to_string(llvm::format("MatchData%d", ID)));
335+
llvm::to_string(llvm::format("MatchData%" PRIu64, ID)));
336336
continue;
337337
}
338338

0 commit comments

Comments
 (0)