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

Unified Diff: src/IceCfgNode.cpp

Issue 672393003: Subzero: Minor refactoring/additions in preparation for phi edge splitting. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add a comment Created 6 years, 2 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/IceCfgNode.h ('k') | src/IceClFlags.h » ('j') | src/IceTargetLowering.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfgNode.cpp
diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp
index 4e4d36bf7c69525352d2437dbe1585a0e166ea55..32597295024f32a1fdc8edd17a999a9a91292c9e 100644
--- a/src/IceCfgNode.cpp
+++ b/src/IceCfgNode.cpp
@@ -501,10 +501,6 @@ void CfgNode::emit(Cfg *Func) const {
for (Inst *I : Insts) {
if (I->isDeleted())
continue;
- // Here we detect redundant assignments like "mov eax, eax" and
- // suppress them.
- if (I->isRedundantAssign())
- continue;
if (Func->UseIntegratedAssembler()) {
I->emitIAS(Func);
} else {
« no previous file with comments | « src/IceCfgNode.h ('k') | src/IceClFlags.h » ('j') | src/IceTargetLowering.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698