This is an archive of the discontinued LLVM Phabricator instance.

[VPlan] Move mask handling to VPRecipeBase (NFCI).
AcceptedPublic

Authored by fhahn on Aug 8 2023, 2:40 PM.

Details

Summary

Consolidate mask handling to VPRecipeBase, buy letting subclasses define
the number of non-mask operations, if it is different than the total
number of operands.

This removes a bit of duplication, allows for generic printing of the
mask and potentially allows masking of any recipe (e.g. to use
vector predication).

Diff Detail

Event Timeline

fhahn created this revision.Aug 8 2023, 2:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2023, 2:40 PM
fhahn requested review of this revision.Aug 8 2023, 2:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2023, 2:40 PM
Herald added subscribers: wangpc, vkmr. · View Herald Transcript
ABataev accepted this revision.Aug 15 2023, 6:46 AM
ABataev added a subscriber: ABataev.

LG

This revision is now accepted and ready to land.Aug 15 2023, 6:46 AM