[Mlir-commits] [mlir] [mlir][linalg] Add a new helper hook - `isVectorizable` (PR #110708)
Han-Chung Wang
llvmlistbot at llvm.org
Tue Oct 1 14:58:55 PDT 2024
================
@@ -762,6 +762,13 @@ LogicalResult copyToGPUPrivateMemory(OpBuilder &b, Value src, Value dst);
/// memory is freed when going outside of the scope.
LogicalResult deallocateGPUPrivateMemory(OpBuilder &, Value /*buffer*/);
+/// Check if this Op is vectorizable. All Linalg Op are vectorizable, as well
----------------
hanhanW wrote:
I think this statement is not correct. Not all the Linalg op are vectorizable. Linalg ops with non-trivial indexing maps are not vectorizable atm.
https://github.com/llvm/llvm-project/blob/ce72c76e9bd0bf74af614cae6a9f85cfd4720e95/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp#L1916-L1926
https://github.com/llvm/llvm-project/pull/110708
More information about the Mlir-commits
mailing list