-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fixed llvmir usage in create_module method #7024
Conversation
Makes me wonder if that method is actually dead code. Why is it never exercised? |
I believe it's dead, and all target contexts override it. I also came across this when I turned on flake8 for
This may have bitrotted as the ROCm target is unmaintained - see #6991 |
Shall I remove this method from BaseContext? |
I'd be inclined to make it raise |
Sure, i'll make it raise |
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.
Thanks for the patch @stuartarchibald @rawwar !
fixes #7022
using llvmir instead of ir in
create_module
method of BaseContext