aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.cc
diff options
context:
space:
mode:
authorRichard Ball <richard.ball@arm.com>2024-06-06 16:10:14 +0100
committerRichard Ball <richard.ball@arm.com>2024-06-06 16:10:14 +0100
commit2963c76e8e24d4ebaf2b1b4ac4d7ca44eb0a9025 (patch)
tree33236ffed884e3fc396894c503e75acfb2a77aaf /gcc/tree-vect-loop.cc
parentc559353af49fe5743d226ac3112a285b27a50f6a (diff)
downloadgcc-2963c76e8e24d4ebaf2b1b4ac4d7ca44eb0a9025.zip
gcc-2963c76e8e24d4ebaf2b1b4ac4d7ca44eb0a9025.tar.gz
gcc-2963c76e8e24d4ebaf2b1b4ac4d7ca44eb0a9025.tar.bz2
arm: Fix CASE_VECTOR_SHORTEN_MODE for thumb2.
The CASE_VECTOR_SHORTEN_MODE query is missing some equals signs which causes suboptimal codegen due to missed optimisation opportunities. This patch also adds a test for thumb2 switch statements as none exist currently. gcc/ChangeLog: PR target/115353 * config/arm/arm.h (enum arm_auto_incmodes): Correct CASE_VECTOR_SHORTEN_MODE query. gcc/testsuite/ChangeLog: * gcc.target/arm/thumb2-switchstatement.c: New test.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions