aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-07-31 13:23:09 +0200
committerRichard Biener <rguenther@suse.de>2025-07-31 13:33:17 +0200
commit51c03570b3e65029fd4ac5d5ace5bddadec7ba9b (patch)
tree3df227c69114c6d96cd1d55b2f901b593d349997 /gcc/rust/parse/rust-parse-impl.h
parentd52e9ef98bb30872482a46e7a2ec6a20c3ca4a4c (diff)
downloadgcc-51c03570b3e65029fd4ac5d5ace5bddadec7ba9b.zip
gcc-51c03570b3e65029fd4ac5d5ace5bddadec7ba9b.tar.gz
gcc-51c03570b3e65029fd4ac5d5ace5bddadec7ba9b.tar.bz2
Add checks for node in aarch64 vector cost modeling
After removing STMT_VINFO_MEMORY_ACCESS_TYPE we now ICE when costing for scalar stmts required in the epilog since the cost model tries to pattern-match gathers (an earlier patch tried to improve this by introducing stmt groups, but that was on hold due to negative feedback). The following shot-cuts those attempts when node is NULL as that then cannot be a vector stmt. Another possibility would be to gate on vect_body, or restructure everything. Note we now ensure that when m_costing_for_scalar node is NULL. * config/aarch64/aarch64.cc (aarch64_detect_vector_stmt_subtype): Check for node before dereferencing. (aarch64_vector_costs::add_stmt_cost): Likewise.
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions