aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog.tree-ssa
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-11-29 13:04:56 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2019-11-29 13:04:56 +0000
commita686151473b24863ddc602e5b9366fa441c492a8 (patch)
treee2a753ac0800cdc6722db8b3154fe7f9779f1e3f /ChangeLog.tree-ssa
parent8093aa41013116f705eb52af2d0d84996db50a0b (diff)
Don't pass booleans as mask types to simd clones (PR 92710)
In this PR we assigned a vector mask type to the result of a comparison and then tried to pass that mask type to a simd clone, which expected a normal (non-mask) type instead. This patch simply punts on call arguments that have a mask type. A better fix would be to pattern-match the comparison to a COND_EXPR, like we would if the comparison was stored to memory, but doing that isn't gcc 9 or 10 material. Note that this doesn't affect x86_64-linux-gnu because the ABI promotes bool arguments to ints. 2019-11-29 Richard Sandiford <richard.sandiford@arm.com> gcc/ PR tree-optimization/92710 * tree-vect-stmts.c (vectorizable_simd_clone_call): Reject vector mask arguments. gcc/testsuite/ PR tree-optimization/92710 * gcc.dg/vect/pr92710.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@278839 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'ChangeLog.tree-ssa')
0 files changed, 0 insertions, 0 deletions