diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-02-08 12:36:23 -0500 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-04-26 15:17:08 -0400 |
commit | bf50499a14943b64f19bd72c60422683f7ecd0ee (patch) | |
tree | a58c08892041363a64d830b6de9cfb4dd97bbc34 /gcc/gimple-range-path.cc | |
parent | 40c7f943e882e8c5eccf45fc28146559f446764d (diff) | |
download | gcc-bf50499a14943b64f19bd72c60422683f7ecd0ee.zip gcc-bf50499a14943b64f19bd72c60422683f7ecd0ee.tar.gz gcc-bf50499a14943b64f19bd72c60422683f7ecd0ee.tar.bz2 |
Quicker relation check.
If either of the SSA names in a comparison do not have any equivalences
or relations, we can short-circuit the check slightly.
* value-relation.cc (dom_oracle::query_relation): Check early for lack
of any relation.
* value-relation.h (equiv_oracle::has_equiv_p): New.
Diffstat (limited to 'gcc/gimple-range-path.cc')
0 files changed, 0 insertions, 0 deletions