Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: src/IceRegAlloc.cpp

Issue 2602713002: Subzero: Fix some build problems against LLVM trunk. (Closed)
Patch Set: Reformat Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceClFlags.def ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceRegAlloc.cpp
diff --git a/src/IceRegAlloc.cpp b/src/IceRegAlloc.cpp
index 282a544ba888ca8b39e4ba125387e02c03beae26..348f25618145db411bfe32f08c40142381eba2ef 100644
--- a/src/IceRegAlloc.cpp
+++ b/src/IceRegAlloc.cpp
@@ -74,7 +74,7 @@ void dumpLiveRange(const Variable *Var, const Cfg *Func) {
Ostream &Str = Func->getContext()->getStrDump();
Str << "R=";
if (Var->hasRegTmp()) {
- Str << llvm::format("%2d", Var->getRegNumTmp());
+ Str << llvm::format("%2d", int(Var->getRegNumTmp()));
} else {
Str << "NA";
}
« no previous file with comments | « src/IceClFlags.def ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698