This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Incorporate LMUL into costs for arithmetic and shuffles
ClosedPublic

Authored by reames on Nov 30 2022, 12:03 PM.

Details

Summary

This reuses the routine implemented in 0e6f0b7 to implement several existing TODOs. Many of the operations scale linearly with LMUL; this change represents that in the cost model.

Diff Detail

Event Timeline

reames created this revision.Nov 30 2022, 12:03 PM
reames requested review of this revision.Nov 30 2022, 12:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 30 2022, 12:03 PM
asb accepted this revision.Dec 1 2022, 8:33 AM

I didn't closely follow the previous work on this, but the change in this patch makes sense to me.

This revision is now accepted and ready to land.Dec 1 2022, 8:33 AM