Dont add varying values to gori_on_edge mass calculations.
commite5e341243bf4a8a93fc9b5776124c64015326356
authorAndrew MacLeod <amacleod@redhat.com>
Fri, 14 Jun 2024 15:01:08 +0000 (14 11:01 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Fri, 14 Jun 2024 19:16:38 +0000 (14 15:16 -0400)
treeeb714e03b99b9809645ae36f20490fae6c8431c3
parentd40034c489c3d4ae149759ba051ef1d661a6c243
Dont add varying values to gori_on_edge mass calculations.

gori_on_edge will return an ssa_lazy_cache with all contextual ranges
that can be generated by an edge.   This patch adjusts it so that
a VARYING range is never added.

* gimple-range-gori.cc (gori_calc_operands): Do not continue nor
add the range when VARYING is produced for an operand.
gcc/gimple-range-gori.cc