aboutsummaryrefslogtreecommitdiff
path: root/libgcc/enable-execute-stack-empty.c
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2023-10-20 08:08:54 +0100
committerTamar Christina <tamar.christina@arm.com>2023-10-20 08:08:54 +0100
commitdd3e6f52e406a0bab787aebcb384ef6e2cf7a1e8 (patch)
tree6a090a8804e7126012b6d0654e577a46eb9f705a /libgcc/enable-execute-stack-empty.c
parent8ba8f0dea0e6ddc1d06cb96818ffe24500983d0c (diff)
downloadgcc-dd3e6f52e406a0bab787aebcb384ef6e2cf7a1e8.zip
gcc-dd3e6f52e406a0bab787aebcb384ef6e2cf7a1e8.tar.gz
gcc-dd3e6f52e406a0bab787aebcb384ef6e2cf7a1e8.tar.bz2
middle-end: Enable bit-field vectorization to work correctly when we're vectoring inside conds
The bitfield vectorization support does not currently recognize bitfields inside gconds. This means they can't be used as conditions for early break vectorization which is a functionality we require. This adds support for them by explicitly matching and handling gcond as a source. Testcases are added in the testsuite update patch as the only way to get there is with the early break vectorization. See tests: - vect-early-break_20.c - vect-early-break_21.c gcc/ChangeLog: * tree-vect-patterns.cc (vect_init_pattern_stmt): Copy STMT_VINFO_TYPE from original statement. (vect_recog_bitfield_ref_pattern): Support bitfields in gcond. Co-Authored-By: Andre Vieira <andre.simoesdiasvieira@arm.com>
Diffstat (limited to 'libgcc/enable-execute-stack-empty.c')
0 files changed, 0 insertions, 0 deletions