[mlir][Linalg] Fix SFINAE check to actually check the value.

No internal functionality change intended, but this fixes out-of-tree
uses.
This commit is contained in:
Richard Smith 2021-01-28 15:12:03 -08:00
parent 2d430f902d
commit dfe26d5f44
1 changed files with 1 additions and 1 deletions

View File

@ -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_t<std::is_member_function_pointer<
decltype(&ConcreteOpType::getOperationName)>::value>>
void sfinae_enqueue(OwningRewritePatternList &patterList, OptionsType options,
MLIRContext *context, StringRef opName,