diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-03-08 01:51:59 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-03-08 01:51:59 +0000 |
commit | 7065b7b20341aaeb93ac3ce09726f69657ff3da8 (patch) | |
tree | 4a2a89fd0271d6d5985465d7cb2b1e4686ebe714 /lib/Support/FoldingSet.cpp | |
parent | c174eaf9481e3f7a6695d4f19e62e2b6f005c4e9 (diff) |
This patch eliminates redundant instructions that produce 0.
For example, the first instruction in the code below can be eliminated if the
use of $vr0 is replaced with $zero:
addiu $vr0, $zero, 0
add $vr2, $vr1, $vr0
add $vr2, $vr1, $zero
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152280 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/FoldingSet.cpp')
0 files changed, 0 insertions, 0 deletions