Chromium Code Reviews

Unified Diff: src/IceInst.cpp

Issue 1405643003: Subzero: Various fixes in preparation for x86-32 register aliasing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Reformat, rebase Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/IceCfgNode.cpp ('k') | src/IceRegAlloc.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceInst.cpp
diff --git a/src/IceInst.cpp b/src/IceInst.cpp
index 42cebb84fc91c557a50324dec96cda8f8f89abae..f5084ff500e3e476332b443b409080382c830ddb 100644
--- a/src/IceInst.cpp
+++ b/src/IceInst.cpp
@@ -947,7 +947,7 @@ void InstTarget::dump(const Cfg *Func) const {
}
bool checkForRedundantAssign(const Variable *Dest, const Operand *Source) {
- const auto SrcVar = llvm::dyn_cast<const Variable>(Source);
+ const auto *SrcVar = llvm::dyn_cast<const Variable>(Source);
if (!SrcVar)
return false;
if (Dest->hasReg() && Dest->getRegNum() == SrcVar->getRegNum()) {
« no previous file with comments | « src/IceCfgNode.cpp ('k') | src/IceRegAlloc.cpp » ('j') | no next file with comments »

Powered by Google App Engine