commit | 912e816cc2eea0c9773530f16dcd4ec8b885e32f | [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 | af9bce504815dc09b277bf76c358cfc94c132379 | |
parent | f891336a25215a6d0720689ccce8bc31dbe3e9ac [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230742 91177308-0d34-0410-b5e6-96231b3b80d8