This is an archive of the discontinued LLVM Phabricator instance.

[mlir] [LLVMIR] Add get active lane mask intrinsic
ClosedPublic

Authored by aartbik on Aug 24 2020, 6:19 PM.

Details

Summary

Provides fast, generic way of setting a mask up to a certain
point. Potential use cases that may benefit are create_mask
and transfer_read/write operations in the vector dialect.

Diff Detail

Event Timeline

aartbik created this revision.Aug 24 2020, 6:19 PM
Herald added a project: Restricted Project. · View Herald Transcript
aartbik requested review of this revision.Aug 24 2020, 6:19 PM
bkramer accepted this revision.Aug 25 2020, 2:44 AM

Can we use LLVM_OneResultIntrOp to simplify the .td boilerplate? Looks good otherwise.

This revision is now accepted and ready to land.Aug 25 2020, 2:44 AM
aartbik updated this revision to Diff 287736.Aug 25 2020, 11:59 AM

addressed comments

This revision was automatically updated to reflect the committed changes.