This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Restructure i1 insert/extract element costing [nfc-ish]
ClosedPublic

Authored by reames on Aug 24 2023, 1:14 PM.

Details

Summary

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.

Diff Detail

Event Timeline

reames created this revision.Aug 24 2023, 1:14 PM
reames requested review of this revision.Aug 24 2023, 1:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2023, 1:14 PM
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
luke accepted this revision.Aug 25 2023, 2:36 AM

LGTM

This revision was landed with ongoing or failed builds.Aug 25 2023, 7:29 AM
This revision was automatically updated to reflect the committed changes.