aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-07-29 09:20:42 +0200
committerRichard Biener <rguenther@suse.de>2025-07-31 08:31:17 +0200
commitfb59c5719c17a04ecfd58b5e566eccd6d2ac583a (patch)
tree64c493c411d303abb31754a7b0a48e76fef88936 /gcc/rust/parse/rust-parse-impl.h
parentda88f9bd9e30eb743132734d71c62ebb9c42b11e (diff)
downloadgcc-fb59c5719c17a04ecfd58b5e566eccd6d2ac583a.zip
gcc-fb59c5719c17a04ecfd58b5e566eccd6d2ac583a.tar.gz
gcc-fb59c5719c17a04ecfd58b5e566eccd6d2ac583a.tar.bz2
Avoid passing vectype != NULL when costing scalar IL
The following makes sure to not leak a set vectype on a stmt when doing scalar IL costing as this can confuse vector cost models which do not look at m_costing_for_scalar most of the time. * tree-vectorizer.h (vector_costs::costing_for_scalar): New accessor. (add_stmt_cost): For scalar costing force vectype to NULL. Verify we do not pass in a SLP node.
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions