aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-modref.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2021-11-12 17:33:00 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2021-11-12 17:33:00 +0000
commit26122469dff16a15f7f0eaa9bc7757d53b253f8b (patch)
treef9a8529c662b276beff01e2d2d343493f64b143e /gcc/ipa-modref.c
parent15aba5a67c61a005497ddad766377889d2442df6 (diff)
downloadgcc-26122469dff16a15f7f0eaa9bc7757d53b253f8b.zip
gcc-26122469dff16a15f7f0eaa9bc7757d53b253f8b.tar.gz
gcc-26122469dff16a15f7f0eaa9bc7757d53b253f8b.tar.bz2
aarch64: Remove vectype from latency tests
This patch gets the scalar mode of a reduction operation from the gimple stmt rather than the vectype. This makes it more suitable for use in scalar costs. gcc/ * config/aarch64/aarch64.c (aarch64_sve_in_loop_reduction_latency): Remove vectype parameter and get floatness from the type of the stmt lhs instead. (arch64_in_loop_reduction_latency): Likewise. (aarch64_detect_vector_stmt_subtype): Update caller. (aarch64_vector_costs::count_ops): Likewise.
Diffstat (limited to 'gcc/ipa-modref.c')
0 files changed, 0 insertions, 0 deletions