[all-commits] [llvm/llvm-project] 05d512: [mlir] Generalize OpFoldResult usage in ops with o...
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Mon Jan 25 06:21:45 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 05d5125d8a9ffa458ea2deff90eb73473db0047e
https://github.com/llvm/llvm-project/commit/05d5125d8a9ffa458ea2deff90eb73473db0047e
Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
M mlir/include/mlir/IR/OpDefinition.h
M mlir/include/mlir/Interfaces/ViewLikeInterface.td
M mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
M mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
M mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
M mlir/lib/Dialect/StandardOps/Transforms/ExpandOps.cpp
M mlir/lib/Dialect/Vector/VectorTransforms.cpp
M mlir/test/Dialect/Linalg/fusion-sequence.mlir
M mlir/test/Dialect/Linalg/promote.mlir
M mlir/test/Dialect/Linalg/transform-patterns.mlir
M mlir/test/Dialect/Vector/vector-transfer-full-partial-split.mlir
Log Message:
-----------
[mlir] Generalize OpFoldResult usage in ops with offsets, sizes and operands.
This revision starts evolving the APIs to manipulate ops with offsets, sizes and operands towards a ValueOrAttr abstraction that is already used in folding under the name OpFoldResult.
The objective, in the future, is to allow such manipulations all the way to the level of ODS to avoid all the genuflexions involved in distinguishing between values and attributes for generic constant foldings.
Once this evolution is accepted, the next step will be a mechanical OpFoldResult -> ValueOrAttr.
Differential Revision: https://reviews.llvm.org/D95310
More information about the All-commits
mailing list