diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-07-10 18:41:51 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-07-10 18:41:51 +0000 |
commit | 2cb7362310288cce61244e39f90fccd75b1c28e1 (patch) | |
tree | b9e7e536abb234426e0dc3b60a291a4d484cddc5 /gcc/gimplify.c | |
parent | 8ba8ebffc4621552febf47eea470c260488418b5 (diff) | |
download | gcc-2cb7362310288cce61244e39f90fccd75b1c28e1.zip gcc-2cb7362310288cce61244e39f90fccd75b1c28e1.tar.gz gcc-2cb7362310288cce61244e39f90fccd75b1c28e1.tar.bz2 |
Fix folding of vector EQ/NE
For vector1 != vector2, we returned false if any elements were equal,
rather than if all elements were equal.
2019-07-10 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* fold-const.c (fold_relational_const): Fix folding of
vector-to-scalar NE_EXPRs.
(test_vector_folding): Add more tests.
From-SVN: r273366
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions