This is an archive of the discontinued LLVM Phabricator instance.

[mlir] [VectorOps] Improve vector.create_mask lowering
ClosedPublic

Authored by aartbik on Jun 23 2020, 11:29 AM.

Details

Summary

Use vector compares for the 1-D case. This approach scales much better
than generating insertion operations, and exposes SIMD directly to backend.

Diff Detail

Event Timeline

aartbik created this revision.Jun 23 2020, 11:29 AM
ftynse accepted this revision.Jun 23 2020, 2:28 PM
This revision is now accepted and ready to land.Jun 23 2020, 2:28 PM
This revision was automatically updated to reflect the committed changes.