Bump llvm-project to 12011b5217929ef8a56c2099c6f3233934ea4fbc

- Rename FrozenRewritePatternList -> FrozenRewritePatternSet
pull/212/head
Sean Silva 2021-04-27 13:05:06 -07:00
parent 179105ca3e
commit 642482429c
6 changed files with 6 additions and 6 deletions

@ -1 +1 @@
Subproject commit 484b6648fdd4b104eaf7a2504dd07b60af2c9f8d
Subproject commit 12011b5217929ef8a56c2099c6f3233934ea4fbc

View File

@ -234,7 +234,7 @@ public:
(void)applyPatternsAndFoldGreedily(getOperation(), getPatterns());
}
FrozenRewritePatternList getPatterns() {
FrozenRewritePatternSet getPatterns() {
MLIRContext *context = &getContext();
RewritePatternSet patterns(context);
patterns.add(convertMmOp);

View File

@ -26,7 +26,7 @@ public:
(void)applyPatternsAndFoldGreedily(func, getPatterns());
}
FrozenRewritePatternList getPatterns() {
FrozenRewritePatternSet getPatterns() {
auto *context = &getContext();
RewritePatternSet patterns(context);
populateBasicpyToStdPrimitiveOpPatterns(patterns);

View File

@ -199,7 +199,7 @@ public:
(void)applyPatternsAndFoldGreedily(getOperation(), getPatterns());
}
FrozenRewritePatternList getPatterns() {
FrozenRewritePatternSet getPatterns() {
MLIRContext *context = &getContext();
RewritePatternSet patterns(context);
patterns.add<ConvertMatmul>(context);

View File

@ -143,7 +143,7 @@ public:
(void)applyPatternsAndFoldGreedily(getOperation(), getPatterns());
}
FrozenRewritePatternList getPatterns() {
FrozenRewritePatternSet getPatterns() {
MLIRContext *context = &getContext();
RewritePatternSet patterns(context);
patterns.add<ConvertUnaryElementwise<tcf::ExpOp>,

View File

@ -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.