[PATCH] D79954: [mlir] [VectorOps] Implement vector.create_mask lowering to LLVM IR
Aart Bik via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 14 12:31:10 PDT 2020
aartbik created this revision.
Herald added subscribers: llvm-commits, jurahul, Kayjukh, frgossen, grosul1, Joonsoo, stephenneuendorffer, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: nicolasvasilache.
Herald added a reviewer: ftynse.
Herald added a project: LLVM.
aartbik added reviewers: bkramer, reidtatge, andydavis1, mehdi_amini.
First, compact implementation of lowering to LLVM IR. A bit more
challenging than the constant mask due to the dynamic indices, of course.
I like to hear if there are more efficient ways of doing this in LLVM,
but this for now at least gives us a functional reference implementation.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79954
Files:
mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
mlir/lib/Dialect/Vector/VectorTransforms.cpp
mlir/test/Dialect/Vector/vector-contract-transforms.mlir
mlir/test/Target/vector-to-llvm-ir.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79954.264050.patch
Type: text/x-patch
Size: 6615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200514/20eaecde/attachment.bin>
More information about the llvm-commits
mailing list