summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.stable.pass.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-05-31 16:46:05 +0000
committerNikita Popov <nikita.ppv@gmail.com>2019-05-31 16:46:05 +0000
commit1e692d1777ae34dcb93524b5798651a29defae09 (patch)
tree27257ebfdc3339114ae43f21a6eb863efcb897b4 /libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.stable.pass.cpp
parentac79007205ef96f81acef54c9ded34b6e6a8dcb4 (diff)
downloadbcm5719-llvm-1e692d1777ae34dcb93524b5798651a29defae09.tar.gz
bcm5719-llvm-1e692d1777ae34dcb93524b5798651a29defae09.zip
[CVP] Simplify non-overflowing saturating add/sub
If we can determine that a saturating add/sub will not overflow based on range analysis, convert it into a simple binary operation. This is a sibling transform to the existing with.overflow handling. Differential Revision: https://reviews.llvm.org/D62703 llvm-svn: 362242
Diffstat (limited to 'libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/sample.stable.pass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud