]> git.ipfire.org Git - thirdparty/gcc.git/commit
Make compute_operand1_range a leaf call.
authorAndrew MacLeod <amacleod@redhat.com>
Wed, 5 Jul 2023 17:41:50 +0000 (13:41 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Wed, 5 Jul 2023 23:06:30 +0000 (19:06 -0400)
commit018e7f16408022dbea9d2d4570150ce823117e08
treed9466c0412f6c656e29f360ca65a1e12922e10e6
parentf0375705613675ab13cd211e93a1d620be8bf03f
Make compute_operand1_range a leaf call.

Rather than creating long call chains, put the onus for finishing
the evlaution on the caller.

* gimple-range-gori.cc (compute_operand_range): After calling
compute_operand1_range, recursively call self if needed.
(compute_operand1_range): Turn into a leaf function.
(gori_compute::compute_operand1_and_operand2_range): Finish
operand1 calculation.
* gimple-range-gori.h (compute_operand1_range): Remove name param.
gcc/gimple-range-gori.cc
gcc/gimple-range-gori.h