diff options
author | Tamar Christina <tamar.christina@arm.com> | 2021-12-17 10:59:25 +0000 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2021-12-17 10:59:33 +0000 |
commit | 411ac94611f164fac7ec1cd5953549c0a56cf43a (patch) | |
tree | 3ee42ce679f2ff1b2d227e42c686313bc0022eef /libgfortran/runtime/environ.c | |
parent | 574c09da48a5a0ff4c32dd4577eaf65bac8c94a0 (diff) | |
download | gcc-411ac94611f164fac7ec1cd5953549c0a56cf43a.zip gcc-411ac94611f164fac7ec1cd5953549c0a56cf43a.tar.gz gcc-411ac94611f164fac7ec1cd5953549c0a56cf43a.tar.bz2 |
slp: check that the operation we're combing is a boolean operation [PR103741]
It seems I forgot to check that the operation we're combing when masking the
predicated together are actually predicates types.
Without it we end up accidentally trying to combine a value and a mask.
gcc/ChangeLog:
PR tree-optimization/103741
* tree-vect-stmts.c (vectorizable_operation): Check for boolean.
gcc/testsuite/ChangeLog:
PR tree-optimization/103741
* gcc.target/aarch64/pr103741.c: New test.
Diffstat (limited to 'libgfortran/runtime/environ.c')
0 files changed, 0 insertions, 0 deletions