Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNumbat committed Mar 19, 2024
1 parent 7e93f52 commit 8ade880
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions middle_end/flambda2/types/meet_and_join_old.ml
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,11 @@ and meet_expanded_head0 env (descr1 : ET.descr) (descr2 : ET.descr) :
meet_head_of_kind_naked_immediate env head1 head2
in
ET.create_naked_immediate head, env_extension
| Naked_float32 head1, Naked_float32 head2 ->
let<+ head, env_extension =
meet_head_of_kind_naked_float32 env head1 head2
in
ET.create_naked_float32 head, env_extension
| Naked_float head1, Naked_float head2 ->
let<+ head, env_extension = meet_head_of_kind_naked_float env head1 head2 in
ET.create_naked_float head, env_extension
Expand Down Expand Up @@ -573,6 +578,10 @@ and meet_head_of_kind_naked_immediate env (t1 : TG.head_of_kind_naked_immediate)
the arguments. N.B. Also see comment in meet_and_join_new.ml *)
Ok (t1, TEE.empty)

and meet_head_of_kind_naked_float32 _env t1 t2 : _ Or_bottom.t =
let<+ head = TG.Head_of_kind_naked_float32.inter t1 t2 in
head, TEE.empty

and meet_head_of_kind_naked_float _env t1 t2 : _ Or_bottom.t =
let<+ head = TG.Head_of_kind_naked_float.inter t1 t2 in
head, TEE.empty
Expand Down

0 comments on commit 8ade880

Please sign in to comment.