aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2021-11-04 08:28:44 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2021-11-04 08:28:44 +0000
commit95318d469f4d293446b4fd38d527fd5d64ce0b70 (patch)
tree1564afa1b39d7bd657b2087bd4a7e9062b3a8dde /gcc/tree-vectorizer.h
parentbc9c8e5f8af08c513a4a4c329c50ba6559ff6d5c (diff)
downloadgcc-95318d469f4d293446b4fd38d527fd5d64ce0b70.zip
gcc-95318d469f4d293446b4fd38d527fd5d64ce0b70.tar.gz
gcc-95318d469f4d293446b4fd38d527fd5d64ce0b70.tar.bz2
Fix RTL frontend handling of const_vectors
The RTL frontend makes sure that CONST_INTs use shared rtxes where appropriate. We should do the same thing for CONST_VECTORs, reusing CONST0_RTX, CONST1_RTX and CONSTM1_RTX. This also has the effect of setting CONST_VECTOR_NELTS_PER_PATTERN and CONST_VECTOR_NPATTERNS. While looking at where to add that, I noticed we had some dead #includes in read-rtl.c. Some of the stuff that read-rtl-function.c does was once in that file instead. gcc/ * read-rtl.c: Remove dead !GENERATOR_FILE block. * read-rtl-function.c (function_reader::consolidate_singletons): Generate canonical CONST_VECTORs.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions