-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Problem description Uplifting llvm and stablehlo versions ### What's changed Uplifted llvm to llvm/llvm-project@a854c26 Uplifted stablehlo to openxla/stablehlo@4598975 - `applyPatternsAndFoldGreedily` has been deprecated. - I've replaced all calls to this with `applyPatternsGreedily` as the deprecation instructs us to use `applyPatternsGreedily` instead. - After looking at the [source for `applyPatternsAndFoldGreedily`](https://github.com/llvm/llvm-project/blob/26a83994176fcdca6e77be4f221a15f561681621/mlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h#L186) it simply calls `applyPatternsGreedily` with a `GreedyRewriteConfig` that has `fold = true`. However the [source of `GreedyRewriteConfig`](https://github.com/llvm/llvm-project/blob/26a83994176fcdca6e77be4f221a15f561681621/mlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h#L96) has `fold = true` by default. So making this replacement should have no effect on how we expect the pattern driver to behave. - `FloatType::get<type>()` No longer exists, instead `FloatTypes` for each type of float have been defined - i.e `Float32Type` - `tosa::MatMulOp` had its quantization info attribute(s) removed in this commit: llvm/llvm-project@f0b8ff1 - `populateSCFToEmitCConversionPatterns` requires a type converter now.
- Loading branch information
Showing
13 changed files
with
25 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters