Convert CFN_BUILT_IN_STRLEN to range-ops.
authorAndrew MacLeod <amacleod@redhat.com>
Tue, 20 Sep 2022 23:05:03 +0000 (19:05 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Thu, 22 Sep 2022 18:48:29 +0000 (14:48 -0400)
commitc750e675cb77f283ff991682db7740bc5f6d4cf4
tree25d10307ecd5d59e20e94168a5ca8b2bb601d71b
parentb6f670ff706e35dc51a62db4206cb241dcac4963
Convert CFN_BUILT_IN_STRLEN to range-ops.

* gimple-range-fold.cc (range_of_builtin_int_call): Remove case
for CFN_BUILT_IN_STRLEN.
* gimple-range-op.cc (class cfn_strlen): New.
(gimple_range_op_handler::maybe_builtin_call): Set arguments.
gcc/gimple-range-fold.cc
gcc/gimple-range-op.cc