[Mlir-commits] [mlir] 303ef60 - [mlir] Fix gcc-8 build
Nicolas Vasilache
llvmlistbot at llvm.org
Thu Jan 28 07:58:57 PST 2021
Author: Nicolas Vasilache
Date: 2021-01-28T15:58:49Z
New Revision: 303ef609a38e004d41e773be41ede9cc90ea803c
URL: https://github.com/llvm/llvm-project/commit/303ef609a38e004d41e773be41ede9cc90ea803c
DIFF: https://github.com/llvm/llvm-project/commit/303ef609a38e004d41e773be41ede9cc90ea803c.diff
LOG: [mlir] Fix gcc-8 build
Added:
Modified:
mlir/include/mlir/Dialect/Linalg/Transforms/CodegenStrategy.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Linalg/Transforms/CodegenStrategy.h b/mlir/include/mlir/Dialect/Linalg/Transforms/CodegenStrategy.h
index 21bad4acec7c..93d7d7076248 100644
--- a/mlir/include/mlir/Dialect/Linalg/Transforms/CodegenStrategy.h
+++ b/mlir/include/mlir/Dialect/Linalg/Transforms/CodegenStrategy.h
@@ -33,7 +33,7 @@ struct Transformation {
/// SFINAE: Enqueue helper for ConcreteOpType that have a `getOperationName`.
template <template <typename> class PatternType, typename ConcreteOpType,
typename OptionsType,
- typename std::enable_if<std::is_member_function_pointer<
+ typename = std::enable_if<std::is_member_function_pointer<
decltype(&ConcreteOpType::getOperationName)>::value>>
void sfinae_enqueue(OwningRewritePatternList &patterList, OptionsType options,
MLIRContext *context, StringRef opName,
More information about the Mlir-commits
mailing list