]> gcc.gnu.org Git - gcc.git/commit
Make irange dependency explicit for range_of_ssa_name_with_loop_info.
authorAldy Hernandez <aldyh@redhat.com>
Sun, 31 Jul 2022 21:02:14 +0000 (23:02 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Mon, 1 Aug 2022 06:16:03 +0000 (08:16 +0200)
commit460dcec49f875a83ca9b66d5e45d712f836f681e
tree3d2bae08d8f77ce79951556dafc58dbf4949539b
parent1efeaf99bd8bdfe2a350b8a56b88ed6e00594e54
Make irange dependency explicit for range_of_ssa_name_with_loop_info.

Even though ranger is type agnostic, SCEV seems to only work with
integers.  This patch removes some FIXME notes making it explicit that
bounds_of_var_in_loop only works with iranges.

Tested on x86-64 Linux.

gcc/ChangeLog:

* gimple-range-fold.cc (fold_using_range::range_of_phi): Only
query SCEV for integers.
(fold_using_range::range_of_ssa_name_with_loop_info): Remove
irange check.
gcc/gimple-range-fold.cc
This page took 0.064637 seconds and 6 git commands to generate.