summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorChristopher Lamb <christopher.lamb@gmail.com>2007-12-18 09:34:41 +0000
committerChristopher Lamb <christopher.lamb@gmail.com>2007-12-18 09:34:41 +0000
commit8b09a464b4b65f001f8dd05097bcc6b71e4bab5b (patch)
tree68442f9748f8f1e43ae884b8d1f99f136c99468a /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent91e0fc9cb4514756b11172d75642ca5acf745e7f (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud