Index: src/IceCfgNode.cpp |
diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp |
index d715767fbd795e05386529c3787d05bbad160476..a1804d5cdf4a30f477820d25b80ef6d1a7b7bb9e 100644 |
--- a/src/IceCfgNode.cpp |
+++ b/src/IceCfgNode.cpp |
@@ -506,10 +506,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 { |