Standardize Linalg transformations to take an OpBuilder and an OperationFolder - NFC
authorNicolas Vasilache <ntv@google.com>
Mon, 28 Oct 2019 21:55:43 +0000 (14:55 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Mon, 28 Oct 2019 21:56:20 +0000 (14:56 -0700)
commit98226e62ecf4d64323e4531daff39183691800cf
tree4f812d94bda9d86fc3bc0c2cd3cae18caefe54a9
parent2f4d0c085a9849fb48b8b55e10f013ac851e470e
Standardize Linalg transformations to take an OpBuilder and an OperationFolder - NFC

This will be used to specify declarative Linalg transformations in a followup CL. In particular, the PatternRewrite mechanism does not allow folding and has its own way of tracking erasure.

PiperOrigin-RevId: 277149158
mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
mlir/include/mlir/EDSC/Builders.h
mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
mlir/lib/Dialect/Linalg/Transforms/LowerToLoops.cpp
mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
mlir/lib/Dialect/Linalg/Utils/Utils.cpp