aboutsummaryrefslogtreecommitdiff
path: root/gcc/jit/libgccjit.h
diff options
context:
space:
mode:
authorFelix Yang <felix.yang@huawei.com>2020-03-31 16:41:56 +0800
committerRichard Sandiford <richard.sandiford@arm.com>2020-03-31 15:13:33 +0100
commitf14b41d27124601284347a10d496362c8b4b8e1c (patch)
tree810880a1322035d19afa7e22558d46540596e383 /gcc/jit/libgccjit.h
parente06cde870edc7ec21736145b6857565d4b2f0e85 (diff)
downloadgcc-f14b41d27124601284347a10d496362c8b4b8e1c.zip
gcc-f14b41d27124601284347a10d496362c8b4b8e1c.tar.gz
gcc-f14b41d27124601284347a10d496362c8b4b8e1c.tar.bz2
vect: ICE: in vectorizable_load, at tree-vect-stmts.c:9173 [PR94398]
In the testcase for PR94398, we're trying to compute: alignment_support_scheme = vect_supportable_dr_alignment (first_dr_info, false); gcc_assert (alignment_support_scheme); even for VMAT_GATHER_SCATTER, which always accesses individual elements. Here we should set alignment_support_scheme to dr_unaligned_supported the gather/scatter case instead of calling vect_supportable_dr_alignment. 2020-03-31 Felix Yang <felix.yang@huawei.com> gcc/ PR tree-optimization/94398 * tree-vect-stmts.c (vectorizable_store): Instead of calling vect_supportable_dr_alignment, set alignment_support_scheme to dr_unaligned_supported for gather-scatter accesses. (vectorizable_load): Likewise. gcc/testsuite/ PR tree-optimization/94398 * gcc.target/aarch64/pr94398.c: New test.
Diffstat (limited to 'gcc/jit/libgccjit.h')
0 files changed, 0 insertions, 0 deletions