This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Vector] Introduce the `vector.mask` operation lowering
ClosedPublic

Authored by dcaballe on Oct 25 2022, 11:28 PM.

Details

Summary

This patch introduces the lowering for xfer ops masked with vector.mask.
Vector reductions are not lowered yet because new LLVM intrinsics are needed
in the LLVM dialect.

Diff Detail

Event Timeline

dcaballe created this revision.Oct 25 2022, 11:28 PM
dcaballe requested review of this revision.Oct 25 2022, 11:28 PM
nicolasvasilache accepted this revision.Oct 27 2022, 9:20 AM

Nice and simple!

mlir/lib/Dialect/Vector/Transforms/LowerVectorMask.cpp
79

can this notifyMachFailure rather than crash ?

This revision is now accepted and ready to land.Oct 27 2022, 9:20 AM
dcaballe marked an inline comment as done.Oct 27 2022, 3:55 PM
This revision was landed with ongoing or failed builds.Oct 27 2022, 3:56 PM
This revision was automatically updated to reflect the committed changes.