This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][COST] Add cost model for mask vector select instruction when its condition is a scalar type.
ClosedPublic

Authored by Miss_Grape on Aug 30 2022, 9:46 PM.

Diff Detail

Event Timeline

Miss_Grape created this revision.Aug 30 2022, 9:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2022, 9:46 PM
Miss_Grape requested review of this revision.Aug 30 2022, 9:46 PM
Miss_Grape added inline comments.Aug 30 2022, 9:54 PM
llvm/test/Analysis/CostModel/RISCV/rvv-select.ll
27

Only support zbb will get 1

update test case

The title of this revision does not represent its change well. You should update the title and better to add some description for the added functionality.

Miss_Grape edited the summary of this revision. (Show Details)Aug 31 2022, 12:53 AM

The title of this revision does not represent its change well. You should update the title and better to add some description for the added functionality.

Done

reames resigned from this revision.Aug 31 2022, 2:25 PM
Miss_Grape retitled this revision from [RISCV][COST] Improve cost of select to [RISCV][COST] Add cost modelselect mask operation.Sep 8 2022, 1:41 AM
Miss_Grape edited the summary of this revision. (Show Details)
Miss_Grape retitled this revision from [RISCV][COST] Add cost modelselect mask operation to [RISCV][COST] Add cost model for select mask which condition is a scalar type.Sep 8 2022, 1:44 AM
Miss_Grape edited the summary of this revision. (Show Details)
jacquesguan accepted this revision.Sep 8 2022, 1:46 AM
jacquesguan retitled this revision from [RISCV][COST] Add cost model for select mask which condition is a scalar type to [RISCV][COST] Add cost model for mask vector select instruction when its condition is a scalar type..

LGTM.

This revision is now accepted and ready to land.Sep 8 2022, 1:46 AM
This revision was landed with ongoing or failed builds.Sep 8 2022, 3:56 AM
This revision was automatically updated to reflect the committed changes.