[all-commits] [llvm/llvm-project] 8fc433: [mlir][MemRef] Move narrow type emulation common m...
Han-Chung Wang via All-commits
all-commits at lists.llvm.org
Thu Jul 13 14:43:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8fc433f055537ef509de9d80c681d388d5c9d9d3
https://github.com/llvm/llvm-project/commit/8fc433f055537ef509de9d80c681d388d5c9d9d3
Author: Hanhan Wang <hanchung at google.com>
Date: 2023-07-13 (Thu, 13 Jul 2023)
Changed paths:
M mlir/include/mlir/Dialect/MemRef/Utils/MemRefUtils.h
M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/lib/Dialect/MemRef/Transforms/EmulateNarrowType.cpp
M mlir/lib/Dialect/MemRef/Utils/CMakeLists.txt
M mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
M mlir/lib/Dialect/Vector/Transforms/CMakeLists.txt
M mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
M mlir/test/Dialect/MemRef/emulate-narrow-type-diff-load-compute.mlir
M mlir/test/Dialect/MemRef/emulate-narrow-type-same-load-compute.mlir
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][MemRef] Move narrow type emulation common methods to MemRefUtils.
It also unifies the computation of StridedLayoutAttr. If the stride is
static known value, we can just use it.
Differential Revision: https://reviews.llvm.org/D155017
More information about the All-commits
mailing list