aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-modref.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2021-11-12 17:33:01 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2021-11-12 17:33:01 +0000
commit902b7c9e1835bc11a6127f9bd0c18928bfdbf18d (patch)
tree8aada874d1cc61f2e85c5bc417a8ddf6c7462fd6 /gcc/ipa-modref.c
parent26122469dff16a15f7f0eaa9bc7757d53b253f8b (diff)
downloadgcc-902b7c9e1835bc11a6127f9bd0c18928bfdbf18d.zip
gcc-902b7c9e1835bc11a6127f9bd0c18928bfdbf18d.tar.gz
gcc-902b7c9e1835bc11a6127f9bd0c18928bfdbf18d.tar.bz2
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.
Diffstat (limited to 'gcc/ipa-modref.c')
0 files changed, 0 insertions, 0 deletions