[IRCE][Tests] Add tests with range checks in the form of 'iv + offset vs limit'
authoraleks-tmb <a.popov.tmb@gmail.com>
Sun, 2 Jul 2023 06:23:44 +0000 (08:23 +0200)
committeraleks-tmb <a.popov.tmb@gmail.com>
Sun, 2 Jul 2023 06:23:44 +0000 (08:23 +0200)
commitfc5a5794ab5682f8b2052639fe5845cc5e7da593
treeff85e85337d3796b8dc0ad4b216e3649c74ff19a
parentfb047e4ae1b2a17ed068d560f94cc8e9fd94d0e6
[IRCE][Tests] Add tests with range checks in the form of 'iv + offset vs limit'

Added tests on 3 types of range checks which are not supported by IRCE now:

* N - IV >= limit
* IV - N <= limit
* IV + N <= limit

Reviewed By: skatkov
Differential Revision: https://reviews.llvm.org/D154062
llvm/test/Transforms/IRCE/iv-plus-offset-range-check.ll [new file with mode: 0644]