-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[Kaleidoscope] Switch to the new PassManager. #69032
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good with one suggestion
Broke https://lab.llvm.org/buildbot/#/builders/181/builds/24470. Could we build the example/tutorial code in the submit checks? This breakage wasn't caught at submit time.
This reverts commit 7b94744. This breaks the expensive checks bot: https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/26026/ We didn't notice because it was broken for other reasons I think.
I reverted this because it was breaking the expensive checks bot: https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/26026/ I know it's been a while but it's only just come to our attention as it was probably failing for a different reason as well, and since this is just the examples I'd like to revert to green. I tried a quick go at fixing it but the only way I could get one to work was to do this:
but I'm not sure what the right solution is. |
grepping
|
Rollforward of #69032, which was reverted in [63d19cf](63d19cf). New: implemented changes in #69032 (comment). Given the PassBuilder is how we expect users to register passes, the tutorial should reflect that.
Rollforward of llvm#69032, which was reverted in [63d19cf](llvm@63d19cf). New: implemented changes in llvm#69032 (comment). Given the PassBuilder is how we expect users to register passes, the tutorial should reflect that.
This reverts commit 7b94744. This breaks the expensive checks bot: https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/26026/ We didn't notice because it was broken for other reasons I think.
Rollforward of llvm#69032, which was reverted in [63d19cf](llvm@63d19cf). New: implemented changes in llvm#69032 (comment). Given the PassBuilder is how we expect users to register passes, the tutorial should reflect that.
Using the new pass manager is more verbose; let me know if the tutorial doesn't flow well with all the additions.