[Mlir-commits] [mlir] bdf4e93 - Fix extraneous context parameter in templated helper function.
Stella Laurenzo
llvmlistbot at llvm.org
Sun Mar 21 22:09:05 PDT 2021
Author: Stella Laurenzo
Date: 2021-03-22T05:08:44Z
New Revision: bdf4e93b2c77c66eca007ac7620c6b00c77391d3
URL: https://github.com/llvm/llvm-project/commit/bdf4e93b2c77c66eca007ac7620c6b00c77391d3
DIFF: https://github.com/llvm/llvm-project/commit/bdf4e93b2c77c66eca007ac7620c6b00c77391d3.diff
LOG: Fix extraneous context parameter in templated helper function.
(missed in lattner's overall updates related to D99028)
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 318db82769a4..80468c3ae26d 100644
--- a/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
+++ b/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
@@ -716,9 +716,8 @@ void insertVectorizationPatterns(OwningRewritePatternList &patternList,
linalg::LinalgTransformationFilter()) {
// FIXME: In c++17 this can be simplified by using 'fold expressions'.
(void)std::initializer_list<int>{
- 0, (insertVectorizationPatternImpl<OpTypes>(
- patternList, patternList.getContext(), options, f),
- 0)...};
+ 0,
+ (insertVectorizationPatternImpl<OpTypes>(patternList, options, f), 0)...};
}
///
More information about the Mlir-commits
mailing list