diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-05-29 00:34:42 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-05-29 00:34:42 +0000 |
commit | f49ca52b9d1ddf3c842a2ee89caa86ec2b059cfc (patch) | |
tree | a5424225e54a2806aeb969ffcd012c07e64b61d1 /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | |
parent | 7e4a64167d4d2e7b0b680fae1706182223047af1 (diff) | |
download | llvm-f49ca52b9d1ddf3c842a2ee89caa86ec2b059cfc.zip llvm-f49ca52b9d1ddf3c842a2ee89caa86ec2b059cfc.tar.gz llvm-f49ca52b9d1ddf3c842a2ee89caa86ec2b059cfc.tar.bz2 |
[SCEV] See through op.with.overflow intrinsics (re-apply)
Summary:
This change teaches SCEV to see reduce `(extractvalue
0 (op.with.overflow X Y))` into `op X Y` (with a no-wrap tag if
possible).
This was first checked in at r265912 but reverted in r265950 because it
exposed some issues around how SCEV handled post-inc add recurrences.
Those issues have now been fixed.
Reviewers: atrick, regehr
Subscribers: mcrosier, mzolotukhin, llvm-commits
Differential Revision: http://reviews.llvm.org/D18684
llvm-svn: 271152
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
0 files changed, 0 insertions, 0 deletions