GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||
GeezerVison is showing github.com — gh-148211: decompose `_INSERT_1_LOAD_CONST_INLINE(_BORROW)` in JIT by NekoAsakura · Pull Request #148283 · python/cpython Conversation
|
|
It seems this does not build? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Think I've messed up the merge a bit, I'll get it sorted. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
That should be it. Tests failed with HTTP 504, I'll update branch and give it another go. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Just so you know, JIT development has been very active recently (thanks to you and other contributors!). So i'm going to merge this PR after merging #144963 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
That means you'll probably have to merge in main again after that, thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
It's great to see so much activity on JIT lately. Wouldn't have been possible without the reviews from you and other core devs. Cheers🥂 Happy to rebase once that's in. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It looks like every call to optimize_to_bool now passes _LOAD_CONST_INLINE_BORROW as its load_op argument.
So, drop that argument.
Likewise for the op arguments to lookup_attr, so it only needs the prefix and suffix arguments.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
One small suggestion.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| self.assertNotIn("_LOAD_ATTR_METHOD_NO_DICT", uops) | ||
| self.assertNotIn("_INSERT_1_LOAD_CONST_INLINE", uops) | ||
| self.assertIn("_INSERT_1_LOAD_CONST_INLINE_BORROW", uops) | ||
| self.assertNotIn("_INSERT_1_LOAD_CONST_INLINE_BORROW", uops) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this line and the one above.
There is no point in asserting that a non-existent uop isn't present.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
You're right, bit of a brainfart when I wrote that.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You need to regen files after pulling in main. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Oops, thanks for the remind. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@markshannon I'm gonna assume that based off your last comment, this PR is fine to merge now. I think it looks good to me. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@NekoAsakura all the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sure, I was going to leave them open in case anyone fancied having a go, but if nobody's picked them up I'm happy to crack on with it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.