[Mlir-commits] [mlir] [mlir] Exclude masked ops in VectorDropLeadUnitDim (PR #76468)

Diego Caballero llvmlistbot at llvm.org
Wed Jan 31 17:32:27 PST 2024


dcaballe wrote:

No, I meant that you can create a `VectorMaskOpConversionBase` as [we have for the llvm conversion](https://github.com/llvm/llvm-project/blob/ba81477e9cdb5384a10c700ee247562f0f6c03e6/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp#L850) and then write your conversion pattern for the VectorMaskOp inheriting from it, [as we also do for llvm](https://github.com/llvm/llvm-project/blob/ba81477e9cdb5384a10c700ee247562f0f6c03e6/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp#L872);

https://github.com/llvm/llvm-project/pull/76468


More information about the Mlir-commits mailing list