-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Emit LLVM range metadata for call instructions #50157
Comments
This was referenced Apr 22, 2018
I'll try to implement that. |
nox
added a commit
to nox/rust
that referenced
this issue
Apr 22, 2018
bors
added a commit
that referenced
this issue
Apr 24, 2018
Emit range metadata on calls returning scalars (fixes #50157)
bors
added a commit
that referenced
this issue
Apr 28, 2018
Emit range metadata on calls returning scalars (fixes #50157)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding
!range
to a call instruction to communicate the possible range of the return value (analogous to!range
on loads) already works in LLVM today, we just need to use it.Fixes the test case in #49572 andwe already have the information anyway, so it's a cheap and easy win. cc @eddybThe text was updated successfully, but these errors were encountered: