summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/PruneEH.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
commit30f017ad898bd86415aab001b45b5ac1373fa882 (patch)
tree684d8145ff886cb254534894638de7e7b309f769 /lib/Transforms/IPO/PruneEH.cpp
parentbeec823d4bba22b1c0c6658d2b3e71cd64a70e2e (diff)
downloadllvm-30f017ad898bd86415aab001b45b5ac1373fa882.tar.gz
llvm-30f017ad898bd86415aab001b45b5ac1373fa882.tar.bz2
llvm-30f017ad898bd86415aab001b45b5ac1373fa882.tar.xz
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 'lib/Transforms/IPO/PruneEH.cpp')
0 files changed, 0 insertions, 0 deletions