-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
make exp nothrow #46238
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
make exp nothrow #46238
Conversation
aviatesk
left a comment
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.
Add a test case that shows the improvement.
aviatesk
left a comment
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.
We generall want to avoid accessing internals of Effects but use high-level queries instead, as the data structure isn't very stable yet.
|
That's not related. That's about getfield analysis of mutable objects. |
|
Oops, my mistake. I had thought the improved |
This change allows our compiler to remove dead calls of these math ops. Co-authored-by: Simeon Schaub <simeondavidschaub99@gmail.com> Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
This change allows our compiler to remove dead calls of these math ops. Co-authored-by: Simeon Schaub <simeondavidschaub99@gmail.com> Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
before it wasn't because the compiler can't prove that the getindex into the table is inbounds.