]> gcc.gnu.org Git - gcc.git/commit
path solver: Avoid further lookups when range is defined in block.
authorAldy Hernandez <aldyh@redhat.com>
Fri, 24 Sep 2021 10:42:05 +0000 (12:42 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Fri, 24 Sep 2021 14:49:51 +0000 (16:49 +0200)
commit55b3299dcd1e863843079223967f20da5ff0af78
treed3ba7bb9cd9c6a11bdade6ece6116eb1748cb7ae
parent9b11107ed72ca543af41dbb3226e16b61d31b098
path solver: Avoid further lookups when range is defined in block.

If an SSA is defined in the current block, there is no need to query
range_on_path_entry for additional information.

gcc/ChangeLog:

* gimple-range-path.cc (path_range_query::path_range_query):
Move debugging header...
(path_range_query::precompute_ranges): ...here.
(path_range_query::internal_range_of_expr): Do not call
range_on_path_entry if NAME is defined in the current block.
gcc/gimple-range-path.cc
This page took 0.055558 seconds and 5 git commands to generate.