diff options
author | Duncan Sands <baldrick@free.fr> | 2011-01-30 18:03:50 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-01-30 18:03:50 +0000 |
commit | 1895e98ef38afbe011575cc25f4889d96e37421b (patch) | |
tree | 19f30e63e5aa7c09797f0d200d8e5935b9616bed /test/Bitcode/null-type.ll | |
parent | 9b108a338d544a6baf2ff087055326e301e6815d (diff) | |
download | external_llvm-1895e98ef38afbe011575cc25f4889d96e37421b.zip external_llvm-1895e98ef38afbe011575cc25f4889d96e37421b.tar.gz external_llvm-1895e98ef38afbe011575cc25f4889d96e37421b.tar.bz2 |
Transform (X/Y)*Y into X if the division is exact. Instcombine already knows how
to do this and more, but would only do it if X/Y had only one use. Spotted as the
most common missed simplification in SPEC by my auto-simplifier, now that it knows
about nuw/nsw/exact flags. This removes a bunch of multiplications from 447.dealII
and 483.xalancbmk. It also removes a lot from tramp3d-v4, which results in much
more inlining.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bitcode/null-type.ll')
0 files changed, 0 insertions, 0 deletions