diff options
author | Max Kazantsev <max.kazantsev@azul.com> | 2017-11-17 06:49:26 +0000 |
---|---|---|
committer | Max Kazantsev <max.kazantsev@azul.com> | 2017-11-17 06:49:26 +0000 |
commit | 1ac6e8ae61cfaa5729284e4707b51d30f4a390e1 (patch) | |
tree | fc44aac683756f8751cef0e74f62ae382e93cecd /llvm/lib/Transforms/Vectorize | |
parent | b5b0c022497a1fc68248d0a494f494b99456e7ec (diff) | |
download | bcm5719-llvm-1ac6e8ae61cfaa5729284e4707b51d30f4a390e1.tar.gz bcm5719-llvm-1ac6e8ae61cfaa5729284e4707b51d30f4a390e1.zip |
[IRCE] Remove folding of two range checks into RANGE_CHECK_BOTH
The logic of replacing of a couple `RANGE_CHECK_LOWER + RANGE_CHECK_UPPER`
into `RANGE_CHECK_BOTH` in fact duplicates the logic of range intersection which
happens when we calculate safe iteration space. Effectively, the result of intersection of
these ranges doesn't differ from the range of merged range check.
We chose to remove duplicating logic in favor of code simplicity.
Differential Revision: https://reviews.llvm.org/D39589
llvm-svn: 318508
Diffstat (limited to 'llvm/lib/Transforms/Vectorize')
0 files changed, 0 insertions, 0 deletions