Index: src/IceTargetLoweringMIPS32.h |
diff --git a/src/IceTargetLoweringMIPS32.h b/src/IceTargetLoweringMIPS32.h |
index 5f3de513e72d1b24fa58090a0361d21816736ddf..7e87f0435ad41c4d8498f117e02b210005419155 100644 |
--- a/src/IceTargetLoweringMIPS32.h |
+++ b/src/IceTargetLoweringMIPS32.h |
@@ -357,7 +357,8 @@ public: |
} |
void _movf(Variable *Src0, Variable *Src1, Operand *FCC) { |
- Context.insert<InstMIPS32Movf>(Src0, Src1, FCC); |
+ auto *Instr = Context.insert<InstMIPS32Movf>(Src0, Src1, FCC); |
+ Instr->setDestRedefined(); |
Jim Stichnoth
2016/09/21 17:07:10
Sorry, I missed this the first time.
You should b
jaydeep.patil
2016/09/22 03:07:58
Done.
|
} |
void _movn(Variable *Dest, Variable *Src0, Variable *Src1) { |
@@ -373,7 +374,8 @@ public: |
} |
void _movt(Variable *Src0, Variable *Src1, Operand *FCC) { |
- Context.insert<InstMIPS32Movt>(Src0, Src1, FCC); |
+ auto *Instr = Context.insert<InstMIPS32Movt>(Src0, Src1, FCC); |
+ Instr->setDestRedefined(); |
} |
void _movz(Variable *Dest, Variable *Src0, Variable *Src1) { |