diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-03-02 21:41:07 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-03-02 21:41:07 +0000 |
commit | 2d380312713753b170e1b480b28dbc0b04d272fa (patch) | |
tree | 343211fcbd54e643103998de6e6adbce61105a4f /clang/test/Misc/backend-optimization-failure.cpp | |
parent | 02ec6a3ec37a71622820acea0a64099f0a3e9249 (diff) | |
download | bcm5719-llvm-2d380312713753b170e1b480b28dbc0b04d272fa.tar.gz bcm5719-llvm-2d380312713753b170e1b480b28dbc0b04d272fa.zip |
Revert some changes that were made to fix PR20680.
This re-lands change r230921. r230921 was reverted because it broke a
clang test; a checkin fixing the clang test will be commited shortly.
Summary:
As far as I can tell, the real bug causing the issue was fixed in
r230533. SCEVExpander should mark an increment operation as nuw or nsw
only if it can *prove* that the operation does not overflow. There
shouldn't be any situation where we have to do something different
because of no-wrap flags generated by SCEVExpander.
Revert "IndVarSimplify: Allow LFTR to fire more often"
This reverts commit 1ade0f0faa98877b688e0b9da58e876052c1e04e (SVN: 222213).
Revert "IndVarSimplify: Don't let LFTR compare against a poison value"
This reverts commit c0f2b8b528d8a37b0a1522aae90af649d6357eb5 (SVN: 217102).
Reviewers: majnemer, atrick, spatel
Differential Revision: http://reviews.llvm.org/D7979
llvm-svn: 231018
Diffstat (limited to 'clang/test/Misc/backend-optimization-failure.cpp')
0 files changed, 0 insertions, 0 deletions