[Mlir-commits] [mlir] 63638ed - [mlir][linalg] Enable the vector transfer lowering by default.
Tobias Gysi
llvmlistbot at llvm.org
Tue Oct 12 11:12:21 PDT 2021
Author: Tobias Gysi
Date: 2021-10-12T18:11:05Z
New Revision: 63638ed181d443650c4bdb779b745f53b884a34b
URL: https://github.com/llvm/llvm-project/commit/63638ed181d443650c4bdb779b745f53b884a34b
DIFF: https://github.com/llvm/llvm-project/commit/63638ed181d443650c4bdb779b745f53b884a34b.diff
LOG: [mlir][linalg] Enable the vector transfer lowering by default.
Adapt CodegenStartegy to used the vector transfer lowering patterns by default.
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D111649
Added:
Modified:
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h b/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
index c29e3648119b..a19b926dd2f7 100644
--- a/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
+++ b/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
@@ -836,7 +836,7 @@ struct LateCodegenStrategyOptions {
/// Vector lowering operations may result in surprising behavior when
/// composing multiple codegen strategies and must be enabled explicitly.
int64_t maxTransferRank = 1;
- bool enableVectorTransferLowering = false;
+ bool enableVectorTransferLowering = true;
bool enableVectorTransferPartialRewrite = false;
bool enableVectorContractLowering = false;
bool enableVectorToSCFConversion = false;
@@ -855,7 +855,7 @@ struct LinalgEnablingOptions {
/// form.
struct LinalgVectorLoweringOptions {
int64_t maxTransferRank = 1;
- bool enableVectorTransferLowering = false;
+ bool enableVectorTransferLowering = true;
bool enableVectorTransferPartialRewrite = false;
bool enableVectorContractLowering = false;
bool enableVectorToSCFConversion = false;
More information about the Mlir-commits
mailing list