[all-commits] [llvm/llvm-project] 78348b: [mlir][tensor] Improve tensor.pack simplication pa...
Han-Chung Wang via All-commits
all-commits at lists.llvm.org
Tue Jan 2 09:34:38 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 78348b691504bf9ec212add73cc37d2fd8371f83
https://github.com/llvm/llvm-project/commit/78348b691504bf9ec212add73cc37d2fd8371f83
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-01-02 (Tue, 02 Jan 2024)
Changed paths:
M mlir/lib/Dialect/Tensor/Transforms/PackAndUnpackPatterns.cpp
M mlir/test/Dialect/Tensor/simplify-pack-unpack.mlir
Log Message:
-----------
[mlir][tensor] Improve tensor.pack simplication pattern. (#76606)
A tensor.pack op can be rewritten to a tensor.expand_shape op if the
packing only happens on inner most dimension.
This also formats the lit checks better.
More information about the All-commits
mailing list