Avoid CFG updates in VRP threader if nothing changed.
authorAldy Hernandez <aldyh@redhat.com>
Wed, 29 Sep 2021 08:02:12 +0000 (10:02 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Wed, 29 Sep 2021 18:27:53 +0000 (20:27 +0200)
commit77731cb8f3cfd2cc94219e03e7521822d679c6a4
tree178fa282ca92ae90aac150f1736d32c3c67dc251
parent48c97c62c90eedfadd41793f438ed4187df65fd7
Avoid CFG updates in VRP threader if nothing changed.

There is no need to update the CFG or SSAs if nothing has changed in VRP
threading.

gcc/ChangeLog:

* tree-vrp.c (thread_through_all_blocks): Return bool.
(execute_vrp_threader): Return TODO_* flags.
(pass_data_vrp_threader): Set todo_flags_finish to 0.
gcc/tree-vrp.c