]> git.ipfire.org Git - people/ms/gcc.git/commit
aarch64: Get floatness from stmt_info
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 12 Nov 2021 17:33:01 +0000 (17:33 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Fri, 12 Nov 2021 17:33:01 +0000 (17:33 +0000)
commit902b7c9e1835bc11a6127f9bd0c18928bfdbf18d
tree8aada874d1cc61f2e85c5bc417a8ddf6c7462fd6
parent26122469dff16a15f7f0eaa9bc7757d53b253f8b
aarch64: Get floatness from stmt_info

This patch gets the floatness of a memory access from the data
reference rather than the vectype.  This makes it more suitable
for use in scalar costing code.

gcc/
* config/aarch64/aarch64.c (aarch64_dr_type): New function.
(aarch64_vector_costs::count_ops): Use it rather than the
vectype to determine floatness.
gcc/config/aarch64/aarch64.c