[all-commits] [llvm/llvm-project] a8f3d3: [mlir] Add dependent TensorDialect to ConvertVecto...
Longsheng Mou via All-commits
all-commits at lists.llvm.org
Wed Sep 11 02:09:06 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a8f3d303122d049e65b699870615d464b77b489f
https://github.com/llvm/llvm-project/commit/a8f3d303122d049e65b699870615d464b77b489f
Author: Longsheng Mou <longshengmou at gmail.com>
Date: 2024-09-11 (Wed, 11 Sep 2024)
Changed paths:
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
Log Message:
-----------
[mlir] Add dependent TensorDialect to ConvertVectorToLLVM pass (#108045)
This patch registers the tensor dialect as dependent of the
ConvertVectorToLLVM.
This which fixes a crash when `vector.transfer_write` is used with
dynamic tensor type.
The MaterializeTransferMask pattern would call
`vector::createOrFoldDimOp` which
creates a `tensor.dim` operation.
Fixes #107805.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list