[Mlir-commits] [mlir] [mlir][vector] Create `VectorToLLVMDialectInterface` (PR #121440)
Ivan Butygin
llvmlistbot at llvm.org
Wed Jan 22 11:10:25 PST 2025
Hardcode84 wrote:
> Thanks! Could this be used as a separate RUN line in https://github.com/llvm/llvm-project/blob/main/mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir? Otherwise, what's the benefit?
We cannot (easily) do this. These tests designed to work with `convert-vector-to-llvm` pass which includes some preparations patterns running through `applyPatternsGreedily`.
Also, this pass includes armNeon/armSVE/amx/x86Vector specific transforms (which should probably be handled through their own dedicated `ToLLVMDialectInterface`s).
Motivation for this one is to unhardcode conversion from GPUtoROCDL/NVVM passes https://github.com/llvm/llvm-project/blob/main/mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp#L296
https://github.com/llvm/llvm-project/pull/121440
More information about the Mlir-commits
mailing list