-
Notifications
You must be signed in to change notification settings - Fork 8
failing enum/union cases #11
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
Comments
which results in
|
Wip Explorer link: https://fwd.gymni.ch/9cLTiD |
Oh I see the issue here. The load side of the match gets compiled to be executed unconditionally. Therefore we think it's always safe to assume float. |
Will check which pass it is. Tmp: |
notes: SimplifyCFGPass around line 1000 removes the switch and replaces it with a select, after loading x unconditionally. before:
after:
|
https://doc.rust-lang.org/beta/src/alloc/raw_vec.rs.html#448
https://doc.rust-lang.org/src/core/ptr/non_null.rs.html#197-203
The text was updated successfully, but these errors were encountered: