diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-27 20:18:51 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-27 20:18:51 +0000 |
commit | ee9f2ae5b913cf571997091c4d7cac99eccd29a0 (patch) | |
tree | d1ee42f902c8201aebd337dad71f0a790688110d /pstl/test/std/algorithms/alg.nonmodifying | |
parent | 67646d0570b4e25215416cb5cf73756733e130e0 (diff) | |
download | bcm5719-llvm-ee9f2ae5b913cf571997091c4d7cac99eccd29a0.tar.gz bcm5719-llvm-ee9f2ae5b913cf571997091c4d7cac99eccd29a0.zip |
[ConstantRangeTest] Add exhaustive intersectWith() test
Add a test that checks the intersectWith() implementation against
all 4-bit range pairs. The test uses a more explicit way of
calculating the possible intersections, and checks that the right
one is picked out according to the smallest set heuristic.
This is in preparation for introducing intersectWith() variants that
use different heuristics to pick an intersection range, if there are
multiple possibilities.
llvm-svn: 357119
Diffstat (limited to 'pstl/test/std/algorithms/alg.nonmodifying')
0 files changed, 0 insertions, 0 deletions