diff options
author | David Malcolm <dmalcolm@redhat.com> | 2020-08-21 18:55:11 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2020-08-22 11:05:02 -0400 |
commit | c199723d7ed0032db095abc75b82a9710eaa5e56 (patch) | |
tree | 7585151b0b18e450f2797adb7e124d6709f64a24 /gcc/tree-vectorizer.h | |
parent | 294b6da21bbd8297fe6aee497ac6c8e561637e70 (diff) | |
download | gcc-c199723d7ed0032db095abc75b82a9710eaa5e56.zip gcc-c199723d7ed0032db095abc75b82a9710eaa5e56.tar.gz gcc-c199723d7ed0032db095abc75b82a9710eaa5e56.tar.bz2 |
analyzer: simplify store::eval_alias
I have followup patches that add new conditions to store::eval_alias.
Rather than duplicate all conditions for symmetry, split it up and
call it on both (A, B) and (B, A).
gcc/analyzer/ChangeLog:
* store.cc (store::eval_alias): Make const. Split out 2nd half
into store::eval_alias_1 and call it twice for symmetry, avoiding
test duplication.
(store::eval_alias_1): New function, split out from the above.
* store.h (store::eval_alias): Make const.
(store::eval_alias_1): New decl.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions