[all-commits] [llvm/llvm-project] 657f68: [NFC][mlir][MemRef] Make use of InferTypeOpInterface
qcolombet via All-commits
all-commits at lists.llvm.org
Fri Oct 14 11:52:07 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 657f68b1f2fd38deb63c23d8f46d12b7fd357e63
https://github.com/llvm/llvm-project/commit/657f68b1f2fd38deb63c23d8f46d12b7fd357e63
Author: Quentin Colombet <quentin.colombet at gmail.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M mlir/include/mlir/Dialect/MemRef/IR/MemRef.h
M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/lib/Dialect/MemRef/Transforms/SimplifyExtractStridedMetadata.cpp
Log Message:
-----------
[NFC][mlir][MemRef] Make use of InferTypeOpInterface
The `InferTypeOpInterface` generates builders for things it can infer
the types.
Thanks to that interface we can:
- Eliminate a builder for DimOp, and
- Describe how to infer the result types of `extract_strided_metadata`
from its source, and get a simpler builder as a result
NFC
Differential Revision: https://reviews.llvm.org/D135734
More information about the All-commits
mailing list