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 | 8b09a464b4b65f001f8dd05097bcc6b71e4bab5b (patch) | |
tree | 68442f9748f8f1e43ae884b8d1f99f136c99468a /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 91e0fc9cb4514756b11172d75642ca5acf745e7f (diff) | |
download | bcm5719-llvm-8b09a464b4b65f001f8dd05097bcc6b71e4bab5b.tar.gz bcm5719-llvm-8b09a464b4b65f001f8dd05097bcc6b71e4bab5b.zip |
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
llvm-svn: 45158
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions