-
Notifications
You must be signed in to change notification settings - Fork 32
Refine pattern matching rework #783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refine pattern matching rework #783
Conversation
Hi @binarman. Thanks for the PR.
I like 1) and 2) but I have a concern about 3). It seems to me that we apply refinement to all regions. I would suggest to avoid it at this moment. We can create a dedicated attribute for it. I ran your compile and ran your branch with the pure GEMM problem and bumped into the compilation crash. I found one necessary fix; I am going to make a PR to your branch. |
I am going to merge this PR, to unblock the rest of work, feel free to revert it if you think something is wrong. Seems failed integration test are unrelated and failed because wrong runner is used |
This PR: makes Refine pass FuncOp based, instead of ModuleOp replaces walkers with PatternRewriters Co-authored-by: ravil-mobile <[email protected]>
This PR: