These get expanded through i8, so let's just model that directly instead of looking at the expanded code and trying to fit that into the flow. This results in slightly better costs for constant indices today (we can remove the add), but is mostly focused on making future changes easier.
Details
Details
Summary
Diff Detail
Diff Detail
Event Timeline
reames retitled this revision from [RISCV] Restructure i1 insertelement/extractelement costing [nfc-ish] to [RISCV] Restructure i1 insert/extract element costing [nfc-ish].Aug 24 2023, 1:14 PM
This revision is now accepted and ready to land.Aug 24 2023, 9:55 PM
This revision was landed with ongoing or failed builds.Aug 25 2023, 7:29 AM
Closed by commit rG0b98c356b57e: [RISCV] Restructure i1 insert/extract element costing [nfc-ish] (authored by reames). · Explain Why
This revision was automatically updated to reflect the committed changes.