diff options
author | Christopher Lamb <christopher.lamb@gmail.com> | 2007-12-18 09:34:41 +0000 |
---|---|---|
committer | Christopher Lamb <christopher.lamb@gmail.com> | 2007-12-18 09:34:41 +0000 |
commit | 244ec2848d30729826aa8064faf7942043a699cf (patch) | |
tree | 684d8145ff886cb254534894638de7e7b309f769 /docs/CodeGenerator.html | |
parent | 2e03ad02219f50c6001f085c9a7e110f1148fbf5 (diff) | |
download | external_llvm-244ec2848d30729826aa8064faf7942043a699cf.zip external_llvm-244ec2848d30729826aa8064faf7942043a699cf.tar.gz external_llvm-244ec2848d30729826aa8064faf7942043a699cf.tar.bz2 |
Fold certain additions through selects (and their compares) so as to eliminate subtractions. This code is often produced by the SMAX expansion in SCEV.
This implements test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45158 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CodeGenerator.html')
0 files changed, 0 insertions, 0 deletions