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

Unified Diff: src/IceInstX8632.h

Issue 597003004: Subzero: Automatically infer regalloc preferences and overlap. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 6 years, 3 months 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/IceInst.cpp ('k') | src/IceInstX8632.def » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceInstX8632.h
diff --git a/src/IceInstX8632.h b/src/IceInstX8632.h
index ac3087032eea40de17dd21ffaf6d697916ca3c03..f7447c357020d7238363e1fbfc988b5c85af59fb 100644
--- a/src/IceInstX8632.h
+++ b/src/IceInstX8632.h
@@ -744,6 +744,7 @@ public:
virtual bool isRedundantAssign() const {
return checkForRedundantAssign(getDest(), getSrc(0));
}
+ virtual bool isSimpleAssign() const { return true; }
virtual void emit(const Cfg *Func) const;
virtual void dump(const Cfg *Func) const {
Ostream &Str = Func->getContext()->getStrDump();
@@ -1199,7 +1200,7 @@ private:
virtual ~InstX8632Movsx() {}
};
-// Movsx - copy from a narrower integer type to a wider integer
+// Movzx - copy from a narrower integer type to a wider integer
// type, with zero extension.
class InstX8632Movzx : public InstX8632 {
public:
« no previous file with comments | « src/IceInst.cpp ('k') | src/IceInstX8632.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698