forked from OSchip/llvm-project
[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:
parent
2d430f902d
commit
dfe26d5f44
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue