Skip to content
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

Restore Cmm unboxing behaviour inside regions #1285

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add Ctail cases
  • Loading branch information
mshinwell committed Apr 4, 2023
commit d3b027520936b6724719d5549151ae8959514e19
2 changes: 2 additions & 0 deletions backend/cmm_helpers.ml
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ let rec unbox_float dbg =
with
| e -> Cregion e
| exception Exit -> Cop (Cload (Double, Immutable), [cmm], dbg))
| Ctail e -> Ctail (unbox_float dbg e)
| cmm -> Cop (Cload (Double, Immutable), [cmm], dbg))

(* Complex *)
Expand Down Expand Up @@ -1484,6 +1485,7 @@ let rec unbox_int dbg bi =
with
| e -> Cregion e
| exception Exit -> default cmm)
| Ctail e -> Ctail (unbox_int dbg bi e)
| cmm -> default cmm)

let make_unsigned_int bi arg dbg =
Expand Down