]> git.ipfire.org Git - thirdparty/gcc.git/commit
Convert CFN_BUILT_IN_PARITY to range-ops.
authorAndrew MacLeod <amacleod@redhat.com>
Tue, 20 Sep 2022 23:30:46 +0000 (19:30 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Thu, 22 Sep 2022 18:48:30 +0000 (14:48 -0400)
commit5608e410914ebb7c8cc9fa50afc8ada3b22cbf2c
tree55d1644e49cf3ddb97295a8ad54c3299b966c21c
parente7f035f66aa25e0537a0e3a76d43c71fe9531724
Convert CFN_BUILT_IN_PARITY to range-ops.

Also, as the last builtin remaining, also remove the builtin infrastrucure
routines from fold_using_range.

* gimple-range-fold.cc (range_of_range_op): Handle no operands.
(range_of_call): Do not check for builtins.
(fold_using_range::range_of_builtin_call): Delete.
(fold_using_range::range_of_builtin_int_call): Delete.
* gimple-range-fold.h: Adjust prototypes.
* gimple-range-op.cc (class cfn_parity): New.
(gimple_range_op_handler::maybe_builtin_call): Set arguments.
gcc/gimple-range-fold.cc
gcc/gimple-range-fold.h
gcc/gimple-range-op.cc