RTL: Change return type of predicate and callback functions from int to bool
commit220af5576405de4f8187d150d8403eea706316cc
authorUros Bizjak <ubizjak@gmail.com>
Sun, 18 Jun 2023 20:09:38 +0000 (18 22:09 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Sun, 18 Jun 2023 20:10:19 +0000 (18 22:10 +0200)
tree863d6a76d9738b10c0001941bdbdf112527df365
parent24f75498ea59be94ae3eb1b82aa0b9de6ebfa232
RTL: Change return type of predicate and callback functions from int to bool

gcc/ChangeLog:

* rtl.h (*rtx_equal_p_callback_function):
Change return type from int to bool.
(rtx_equal_p): Ditto.
(*hash_rtx_callback_function): Ditto.
* rtl.cc (rtx_equal_p): Change return type from int to bool
and adjust function body accordingly.
* early-remat.cc (scratch_equal): Ditto.
* sel-sched-ir.cc (skip_unspecs_callback): Ditto.
(hash_with_unspec_callback): Ditto.
gcc/early-remat.cc
gcc/rtl.cc
gcc/rtl.h
gcc/sel-sched-ir.cc