summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-12-23 23:31:49 +0000
committerAndrew Trick <atrick@apple.com>2013-12-23 23:31:49 +0000
commit0ba77a074093ed29543803031180b34e10f44abd (patch)
tree82963ed595bcf497a7e251ec2d0364379a41282d /llvm/lib/CodeGen
parentb275d7f8f350b089d464ac78936ecd51bf590f2c (diff)
downloadbcm5719-llvm-0ba77a074093ed29543803031180b34e10f44abd.tar.gz
bcm5719-llvm-0ba77a074093ed29543803031180b34e10f44abd.zip
Add support to indvars for optimizing sadd.with.overflow.
Split sadd.with.overflow into add + sadd.with.overflow to allow analysis and optimization. This should ideally be done after InstCombine, which can perform code motion (eventually indvars should run after all canonical instcombines). We want ISEL to recombine the add and the check, at least on x86. This is currently under an option for reducing live induction variables: -liv-reduce. The next step is reducing liveness of IVs that are live out of the overflow check paths. Once the related optimizations are fully developed, reviewed and tested, I do expect this to become default. llvm-svn: 197926
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud