diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2020-11-09 14:18:12 +0100 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2020-11-09 16:29:47 +0100 |
commit | b5cff0db6e3a733e470ffc36a3e14c55465bdca2 (patch) | |
tree | eb1f7dd5a955a26a08b3f2310d54c2b88a4e7fa8 /gcc/config/arc/constraints.md | |
parent | f27a3b37b4805feba138dd421f039e3267b1c5f0 (diff) | |
download | gcc-b5cff0db6e3a733e470ffc36a3e14c55465bdca2.zip gcc-b5cff0db6e3a733e470ffc36a3e14c55465bdca2.tar.gz gcc-b5cff0db6e3a733e470ffc36a3e14c55465bdca2.tar.bz2 |
Clean up irange self tests.
Currently we have all the irange and range-op tests in range-op.cc.
This patch splits them up into the appropriate file (irange
tests in value-range.cc and range-op tests in range-op.cc). The patch
also splits up the tests themselves by functionality. It's not perfect,
but significantly better than the mess we had.
gcc/ChangeLog:
* function-tests.c (test_ranges): Call range_op_tests.
* range-op.cc (build_range3): Move to value-range.cc.
(range3_tests): Same.
(int_range_max_tests): Same.
(multi_precision_range_tests): Same.
(range_tests): Same.
(operator_tests): Split up...
(range_op_tests): Split up...
(range_op_cast_tests): ...here.
(range_op_lshift_tests): ...here.
(range_op_rshift_tests): ...here.
(range_op_bitwise_and_tests): ...here.
* selftest.h (range_op_tests): New.
* value-range.cc (build_range3): New.
(range_tests_irange3): New.
(range_tests_int_range_max): New.
(range_tests_legacy): New.
(range_tests_misc): New.
(range_tests): New.
Diffstat (limited to 'gcc/config/arc/constraints.md')
0 files changed, 0 insertions, 0 deletions