summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/sequences/dynarray/dynarray.zero/default.pass.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-03-04 22:24:23 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-03-04 22:24:23 +0000
commita5397c019823c536f375e80396c7eed7bf203191 (patch)
treef3a285f0cf37ad2a0cd7299a216eb0a5cca5cd1d /libcxx/test/std/containers/sequences/dynarray/dynarray.zero/default.pass.cpp
parent9e2c5010f6f3051e4c0a6cca492c17d213ac63f8 (diff)
downloadbcm5719-llvm-a5397c019823c536f375e80396c7eed7bf203191.tar.gz
bcm5719-llvm-a5397c019823c536f375e80396c7eed7bf203191.zip
[IndVarSimplify] use the "canonical" way to infer no-wrap.
Summary: rL225282 introduced an ad-hoc way to promote some additions to nuw or nsw. Since then SCEV has become smarter in directly proving no-wrap; and using the canonical "ext(A op B) == ext(A) op ext(B)" method of proving no-wrap is just as powerful now. Rip out the existing complexity in favor of getting SCEV to do all the heaving lifting internally. This change does not add any unit tests because it is supposed to be a non-functional change. Tests added in rL225282 and rL226075 are valid tests for this change. Reviewers: atrick, majnemer Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7981 llvm-svn: 231306
Diffstat (limited to 'libcxx/test/std/containers/sequences/dynarray/dynarray.zero/default.pass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud