[Mlir-commits] [mlir] [mlir][linalg] Add test for masked vector.gather lowering in tensor.extract (PR #76298)

Andrzej Warzyński llvmlistbot at llvm.org
Wed Dec 27 05:04:31 PST 2023


banach-space wrote:

> > Note that tests for masked vectorisation are available in mlir/test/Dialect/Linalg/vectorize-tensor-extract.mlir. Could you highlight which case specifically isn’t tested atm? Otherwise this seems like duplication .
> 
> I couldn't find anything which utilizes [this](https://github.com/llvm/llvm-project/blob/acacec3bbf4586ef9bc6c4f31707d3515d5215a1/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp#L1026) path. I must have missed it. Can you please point me to an example.

I am OOO and checking this on a phone, so might be missing something myself: 

https://github.com/llvm/llvm-project/blob/38c9390b59c4d2b9181614d6a909887497d3692f/mlir/test/Dialect/Linalg/vectorize-tensor-extract-masked.mlir#L122

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


More information about the Mlir-commits mailing list