From 642482429c6923f57064bc8695e670561e49f978 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Tue, 27 Apr 2021 13:05:06 -0700 Subject: [PATCH] Bump llvm-project to 12011b5217929ef8a56c2099c6f3233934ea4fbc - Rename FrozenRewritePatternList -> FrozenRewritePatternSet --- external/llvm-project | 2 +- lib/Conversion/ATenToLinalg/ATenToLinalg.cpp | 2 +- lib/Conversion/BasicpyToStd/Passes.cpp | 2 +- lib/Conversion/TCFToLinalg/TCFToLinalg.cpp | 2 +- lib/Conversion/TCFToStd/TCFToStd.cpp | 2 +- lib/Conversion/TCFToTCP/TCFToTCP.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/external/llvm-project b/external/llvm-project index 484b6648f..12011b521 160000 --- a/external/llvm-project +++ b/external/llvm-project @@ -1 +1 @@ -Subproject commit 484b6648fdd4b104eaf7a2504dd07b60af2c9f8d +Subproject commit 12011b5217929ef8a56c2099c6f3233934ea4fbc diff --git a/lib/Conversion/ATenToLinalg/ATenToLinalg.cpp b/lib/Conversion/ATenToLinalg/ATenToLinalg.cpp index e736b4a35..dad211d24 100644 --- a/lib/Conversion/ATenToLinalg/ATenToLinalg.cpp +++ b/lib/Conversion/ATenToLinalg/ATenToLinalg.cpp @@ -234,7 +234,7 @@ public: (void)applyPatternsAndFoldGreedily(getOperation(), getPatterns()); } - FrozenRewritePatternList getPatterns() { + FrozenRewritePatternSet getPatterns() { MLIRContext *context = &getContext(); RewritePatternSet patterns(context); patterns.add(convertMmOp); diff --git a/lib/Conversion/BasicpyToStd/Passes.cpp b/lib/Conversion/BasicpyToStd/Passes.cpp index 7ffaff7a2..4e8ac3527 100644 --- a/lib/Conversion/BasicpyToStd/Passes.cpp +++ b/lib/Conversion/BasicpyToStd/Passes.cpp @@ -26,7 +26,7 @@ public: (void)applyPatternsAndFoldGreedily(func, getPatterns()); } - FrozenRewritePatternList getPatterns() { + FrozenRewritePatternSet getPatterns() { auto *context = &getContext(); RewritePatternSet patterns(context); populateBasicpyToStdPrimitiveOpPatterns(patterns); diff --git a/lib/Conversion/TCFToLinalg/TCFToLinalg.cpp b/lib/Conversion/TCFToLinalg/TCFToLinalg.cpp index 63b42596d..4e69df379 100644 --- a/lib/Conversion/TCFToLinalg/TCFToLinalg.cpp +++ b/lib/Conversion/TCFToLinalg/TCFToLinalg.cpp @@ -199,7 +199,7 @@ public: (void)applyPatternsAndFoldGreedily(getOperation(), getPatterns()); } - FrozenRewritePatternList getPatterns() { + FrozenRewritePatternSet getPatterns() { MLIRContext *context = &getContext(); RewritePatternSet patterns(context); patterns.add(context); diff --git a/lib/Conversion/TCFToStd/TCFToStd.cpp b/lib/Conversion/TCFToStd/TCFToStd.cpp index 7f9ff2945..cb9d597b8 100644 --- a/lib/Conversion/TCFToStd/TCFToStd.cpp +++ b/lib/Conversion/TCFToStd/TCFToStd.cpp @@ -143,7 +143,7 @@ public: (void)applyPatternsAndFoldGreedily(getOperation(), getPatterns()); } - FrozenRewritePatternList getPatterns() { + FrozenRewritePatternSet getPatterns() { MLIRContext *context = &getContext(); RewritePatternSet patterns(context); patterns.add, diff --git a/lib/Conversion/TCFToTCP/TCFToTCP.cpp b/lib/Conversion/TCFToTCP/TCFToTCP.cpp index 46ffff3c3..a49a27c40 100644 --- a/lib/Conversion/TCFToTCP/TCFToTCP.cpp +++ b/lib/Conversion/TCFToTCP/TCFToTCP.cpp @@ -32,7 +32,7 @@ public: (void)applyPatternsAndFoldGreedily(getOperation(), getPatterns()); } - FrozenRewritePatternList getPatterns() { + FrozenRewritePatternSet getPatterns() { // NOTE: We are keeping this pass around, even though it currently does // nothing, in order to avoid having to reintroduce the same // boilerplate.