Minor vn_reference_lookup_3 tweak
commit19c4d015312d567ae1438b8e153def1117f5e8d8
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 16 Dec 2017 14:09:04 +0000 (16 14:09 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 16 Dec 2017 14:09:04 +0000 (16 14:09 +0000)
treed7e67dde4f1147cf77112c00ff38049af1372e8e
parent7ed29fa20c8e86d23ea1daf88d7f36cd8935104d
Minor vn_reference_lookup_3 tweak

The repeated checks for MEM_REF made this code hard to convert to
poly_ints as-is.  Hopefully the new structure also makes it clearer
at a glance what the two cases are.

2017-12-16  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* tree-ssa-sccvn.c (vn_reference_lookup_3): Avoid repeated
checks for MEM_REF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255742 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-sccvn.c