aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2022-07-08 08:30:22 +0100
committerTamar Christina <tamar.christina@arm.com>2022-07-08 08:30:22 +0100
commitf7854e2faf7640230062dec3596e71773ca500ed (patch)
tree9338fba6d21bf6bbf76071179f6474964c9d220a /gcc/expr.cc
parentfaa0c328ee65f0d6d65d6e20181d26e336071919 (diff)
downloadgcc-f7854e2faf7640230062dec3596e71773ca500ed.zip
gcc-f7854e2faf7640230062dec3596e71773ca500ed.tar.gz
gcc-f7854e2faf7640230062dec3596e71773ca500ed.tar.bz2
middle-end: don't lower past veclower [PR106063]
Hi All, My previous patch can cause a problem if the pattern matches after veclower as it may replace the construct with a vector sequence which the target may not directly support. As such don't perform the rewriting if after veclower unless the target supports the operation. If before veclower do the rewriting as well if the target didn't support the original operation either. gcc/ChangeLog: PR tree-optimization/106063 * match.pd: Do not apply pattern after veclower is not supported. gcc/testsuite/ChangeLog: PR tree-optimization/106063 * gcc.dg/pr106063.c: New test.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions