Use TYPE_MIN/MAX_VALUE in set_varying when possible.
authorAndrew MacLeod <amacleod@redhat.com>
Tue, 28 Sep 2021 17:11:22 +0000 (13:11 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Wed, 6 Oct 2021 13:11:50 +0000 (09:11 -0400)
commite828f4b5898896240b2ae5d5030c539aff28ea24
tree2ebb40958a0a3a527b76d921b76754c63086575e
parent4b8ca6c6177b2bd948c1cb2a116955b942751559
Use TYPE_MIN/MAX_VALUE in set_varying when possible.

We currently create new trees every time... which is very wasteful and time
consuming. Instead, just use the TYPE_MIN/MAX_VALUE.

* value-range.h (irange::set_varying): Use TYPE_MIN_VALUE and
TYPE_MAX_VALUE instead of creating new trees when possible.
gcc/value-range.h