mirror of https://github.com/llvm/torch-mlir
Bump llvm-project to 12011b5217929ef8a56c2099c6f3233934ea4fbc
- Rename FrozenRewritePatternList -> FrozenRewritePatternSetpull/212/head
parent
179105ca3e
commit
642482429c
|
@ -1 +1 @@
|
|||
Subproject commit 484b6648fdd4b104eaf7a2504dd07b60af2c9f8d
|
||||
Subproject commit 12011b5217929ef8a56c2099c6f3233934ea4fbc
|
|
@ -234,7 +234,7 @@ public:
|
|||
(void)applyPatternsAndFoldGreedily(getOperation(), getPatterns());
|
||||
}
|
||||
|
||||
FrozenRewritePatternList getPatterns() {
|
||||
FrozenRewritePatternSet getPatterns() {
|
||||
MLIRContext *context = &getContext();
|
||||
RewritePatternSet patterns(context);
|
||||
patterns.add(convertMmOp);
|
||||
|
|
|
@ -26,7 +26,7 @@ public:
|
|||
(void)applyPatternsAndFoldGreedily(func, getPatterns());
|
||||
}
|
||||
|
||||
FrozenRewritePatternList getPatterns() {
|
||||
FrozenRewritePatternSet getPatterns() {
|
||||
auto *context = &getContext();
|
||||
RewritePatternSet patterns(context);
|
||||
populateBasicpyToStdPrimitiveOpPatterns(patterns);
|
||||
|
|
|
@ -199,7 +199,7 @@ public:
|
|||
(void)applyPatternsAndFoldGreedily(getOperation(), getPatterns());
|
||||
}
|
||||
|
||||
FrozenRewritePatternList getPatterns() {
|
||||
FrozenRewritePatternSet getPatterns() {
|
||||
MLIRContext *context = &getContext();
|
||||
RewritePatternSet patterns(context);
|
||||
patterns.add<ConvertMatmul>(context);
|
||||
|
|
|
@ -143,7 +143,7 @@ public:
|
|||
(void)applyPatternsAndFoldGreedily(getOperation(), getPatterns());
|
||||
}
|
||||
|
||||
FrozenRewritePatternList getPatterns() {
|
||||
FrozenRewritePatternSet getPatterns() {
|
||||
MLIRContext *context = &getContext();
|
||||
RewritePatternSet patterns(context);
|
||||
patterns.add<ConvertUnaryElementwise<tcf::ExpOp>,
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue