This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add cost model for mask vector extend and truncate instruction.
ClosedPublic

Authored by jacquesguan on Aug 10 2022, 2:29 AM.

Details

Summary

As extending from or truncating to mask vector do not use the same instructions as the normal cast, this path changed it to 2 which is the number of instructions we used.

Diff Detail

Event Timeline

jacquesguan created this revision.Aug 10 2022, 2:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 10 2022, 2:29 AM
jacquesguan requested review of this revision.Aug 10 2022, 2:29 AM
reames accepted this revision.Aug 10 2022, 7:16 AM

LGTM

This revision is now accepted and ready to land.Aug 10 2022, 7:16 AM
This revision was landed with ongoing or failed builds.Aug 10 2022, 7:56 PM
This revision was automatically updated to reflect the committed changes.