-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix bug where emitc constants wouldn't be directly emitted in subscripts. #411
Fix bug where emitc constants wouldn't be directly emitted in subscripts. #411
Conversation
Beyond the subscript expression, is there any other use of |
…nces are emited in the cpp code.
…e references are emited in the cpp code." This reverts commit 1f87ef4.
…ppEmitter methods
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!
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.
The diff to upstream in this file is slowly but steadily starting to get meaningful. At some point we should think about pushing all upstream, but not now. If I recall correctly, this exact same trick - the fake emitter - is used somewhere in the MLIR ASM printer to print all the aliases before printing the actual IR :)
No description provided.