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 | 0b2fa914f0f00a38693cf3fc43cbbae0f9f3fcc9 (patch) | |
| tree | acac61a82d11d3cbbe01b324aca1618422d7a984 /clang/utils/analyzer/SATestAdd.py | |
| parent | 9e19f134160a29430576c267a1b60bece658e544 (diff) | |
| download | bcm5719-llvm-0b2fa914f0f00a38693cf3fc43cbbae0f9f3fcc9.tar.gz bcm5719-llvm-0b2fa914f0f00a38693cf3fc43cbbae0f9f3fcc9.zip | |
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
llvm-svn: 152280
Diffstat (limited to 'clang/utils/analyzer/SATestAdd.py')
0 files changed, 0 insertions, 0 deletions

