aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2021-11-18 17:10:36 +0000
committerTamar Christina <tamar.christina@arm.com>2021-11-18 17:12:21 +0000
commit4f0a2f5a3ddb1024b885c066a18caae4d733bb6c (patch)
treee8ee883a11382142729cc33420a470756c05693f /gcc/varasm.c
parent2196a681d7810ad8b227bf983f38ba716620545e (diff)
downloadgcc-4f0a2f5a3ddb1024b885c066a18caae4d733bb6c.zip
gcc-4f0a2f5a3ddb1024b885c066a18caae4d733bb6c.tar.gz
gcc-4f0a2f5a3ddb1024b885c066a18caae4d733bb6c.tar.bz2
middle-end: check that both sides of complex expression is a mul.
Both sides of the VEC_PERM_EXPR need to be a MULT but the check was accidentally checking if both sides are a mul. The FMS case would be handled by the validate_multiplication but this makes the requirement more explicit and we exit earlier. gcc/ChangeLog: PR tree-optimization/103311 * tree-vect-slp-patterns.c (complex_mul_pattern::matches, complex_fms_pattern::matches): Check for multiplications. gcc/testsuite/ChangeLog: PR tree-optimization/103311 * gcc.target/aarch64/pr103311.c: New test.
Diffstat (limited to 'gcc/varasm.c')
0 files changed, 0 insertions, 0 deletions