RE: [PATCH] Cleanup internal vectorizer costing API

2025-05-13 Thread Richard Biener
On Mon, 12 May 2025, Tamar Christina wrote: > > -Original Message- > > From: Richard Biener > > Sent: Monday, May 12, 2025 1:46 PM > > To: gcc-patches@gcc.gnu.org > > Cc: Tamar Christina ; RISC-V CI > c...@rivosinc.com> > > Subject: [PATC

RE: [PATCH] Cleanup internal vectorizer costing API

2025-05-12 Thread Tamar Christina
> -Original Message- > From: Richard Biener > Sent: Monday, May 12, 2025 1:46 PM > To: gcc-patches@gcc.gnu.org > Cc: Tamar Christina ; RISC-V CI c...@rivosinc.com> > Subject: [PATCH] Cleanup internal vectorizer costing API > > This tries to cleanup the API ava

[PATCH] Cleanup internal vectorizer costing API

2025-05-12 Thread Richard Biener
This tries to cleanup the API available to vectorizable_* to record stmt costs. There are several overloads of record_stmt_cost for this and the patch adds one only specifying SLP node and makes the one only having a stmt_vec_info suitable for scalar stmt processing only. There are awkward spots