aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/frontend-passes.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-01-10 10:42:21 +0100
committerRichard Biener <rguenther@suse.de>2023-01-10 13:08:35 +0100
commit554bb9b61e2b76d4ace16a3f766b98ea887b17f4 (patch)
treebef52bc1e035382cb133865161c9cd5bbd705bfc /gcc/fortran/frontend-passes.cc
parentd3328df5f5c9908c633fdcf1e3866a0a2a55c582 (diff)
downloadgcc-554bb9b61e2b76d4ace16a3f766b98ea887b17f4.zip
gcc-554bb9b61e2b76d4ace16a3f766b98ea887b17f4.tar.gz
gcc-554bb9b61e2b76d4ace16a3f766b98ea887b17f4.tar.bz2
tree-optimization/108314 - avoid BIT_NOT optimization for extract-last
The extract-last reduction internal function expects the then and else clause as vector and scalar and thus we cannot perform optimization of the inversion of the condition by swapping the then/else clauses. PR tree-optimization/108314 * tree-vect-stmts.cc (vectorizable_condition): Do not perform BIT_NOT_EXPR optimization for EXTRACT_LAST_REDUCTION. * gcc.dg/vect/pr108314.c: New testcase.
Diffstat (limited to 'gcc/fortran/frontend-passes.cc')
0 files changed, 0 insertions, 0 deletions