Re: [PATCH]middle-end: Save VMAT info in stmt_vec_info as well for SLP for costing.

2024-10-14 Thread Richard Biener
On Mon, 14 Oct 2024, Tamar Christina wrote: > Hi All, > > While chasing down a costing discrepancy between SLP and non-SLP noticed that > costing for different VMATs were not working. > > It looks like the vectorizer for non-SLP stores the VMAT type in > STMT_VINFO_MEMORY_ACCESS_TYPE on the stmt

[PATCH]middle-end: Save VMAT info in stmt_vec_info as well for SLP for costing.

2024-10-14 Thread Tamar Christina
Hi All, While chasing down a costing discrepancy between SLP and non-SLP noticed that costing for different VMATs were not working. It looks like the vectorizer for non-SLP stores the VMAT type in STMT_VINFO_MEMORY_ACCESS_TYPE on the stmt_info, but for SLP it stores it in SLP_TREE_MEMORY_ACCESS_T