Enable OwningRewritePatternList insert overload with parameter pack only when
authorSmit Hinsu <hinsu@google.com>
Tue, 3 Sep 2019 02:59:08 +0000 (19:59 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 3 Sep 2019 02:59:56 +0000 (19:59 -0700)
commitc05890e890da37d9671169725c867ed0ca1e0b9d
tree3a397bd044135c5178dce5a6d1b2aebbfb30086f
parent5c036e682d7cd5b7898242670ebfad7bb270ee35
Enable OwningRewritePatternList insert overload with parameter pack only when
there is at least one template pattern type

Also remove the other insert overload with pattern pointer as there are no existing users nor any potential known use-case.

PiperOrigin-RevId: 266842920
mlir/include/mlir/IR/PatternMatch.h