Remove dominator check in fold_using_range::range_of_phi.
authorAldy Hernandez <aldyh@redhat.com>
Thu, 23 Sep 2021 07:40:59 +0000 (09:40 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Thu, 23 Sep 2021 11:08:27 +0000 (13:08 +0200)
commit00446916206cbf9812a92b418090919515289a20
tree180e6620efc5c7f720d95190db0e92103eca875c
parentf3d357bab357abcbe4d8fc82898c68fd3a4c3471
Remove dominator check in fold_using_range::range_of_phi.

Revert the following patch, as it was an artifact of diagnostic code
being run with improper IL.

commit 64b80b8819f9ea74712625bceb0ec4388e25f67d
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Tue Sep 21 08:28:28 2021 +0200

    Do not query SCEV in range_of_phi unless dominators are available.

    SCEV won't work without dominators and we can get called without
    dominators from debug_ranger.

gcc/ChangeLog:

* gimple-range-fold.cc (fold_using_range::range_of_phi):
Remove dominator check.
gcc/gimple-range-fold.cc