| commit | 18581f16b45896c04ba6dfa44559ccc0cc5226e7 | [log] [tgz] |
|---|---|---|
| author | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | Fri Feb 27 09:01:39 2015 +0000 |
| committer | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | Fri Feb 27 09:01:39 2015 +0000 |
| tree | b81bb6ffe9f205ba5934fe50819b3e10d82dce27 | |
| parent | 308062bd0dae3f25463a36d4208267422cc083da [diff] |
[mips] Account for constant-zero operands in ADDE nodes. Summary: We identify the cases where the operand to an ADDE node is a constant zero. In such cases, we can avoid generating an extra ADDu instruction disguised as an identity move alias (ie. addu $r, $r, 0 --> move $r, $r). Reviewers: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7906 llvm-svn: 230742