summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/Vectorization/VectorizerTestPass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Transforms/Vectorization/VectorizerTestPass.cpp')
-rw-r--r--mlir/lib/Transforms/Vectorization/VectorizerTestPass.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mlir/lib/Transforms/Vectorization/VectorizerTestPass.cpp b/mlir/lib/Transforms/Vectorization/VectorizerTestPass.cpp
index c08ffd4cd7d..0a199f008d6 100644
--- a/mlir/lib/Transforms/Vectorization/VectorizerTestPass.cpp
+++ b/mlir/lib/Transforms/Vectorization/VectorizerTestPass.cpp
@@ -20,7 +20,7 @@
//===----------------------------------------------------------------------===//
#include "mlir/Analysis/AffineAnalysis.h"
-#include "mlir/Analysis/MLFunctionMatcher.h"
+#include "mlir/Analysis/NestedMatcher.h"
#include "mlir/Analysis/SliceAnalysis.h"
#include "mlir/Analysis/VectorAnalysis.h"
#include "mlir/IR/Builders.h"
@@ -95,7 +95,7 @@ struct VectorizerTestPass : public FunctionPass {
void testNormalizeMaps(Function *f);
// Thread-safe RAII contexts local to pass, BumpPtrAllocator freed on exit.
- MLFunctionMatcherContext MLContext;
+ NestedPatternContext MLContext;
static char passID;
};
@@ -153,7 +153,7 @@ static std::string toString(Instruction *inst) {
return res;
}
-static MLFunctionMatches matchTestSlicingOps(Function *f) {
+static NestedMatch matchTestSlicingOps(Function *f) {
// Just use a custom op name for this test, it makes life easier.
constexpr auto kTestSlicingOpName = "slicing-test-op";
using functional::map;
OpenPOWER on IntegriCloud