File tree Expand file tree Collapse file tree 5 files changed +4
-21
lines changed
middle_end/flambda2/to_cmm Expand file tree Collapse file tree 5 files changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -1140,8 +1140,6 @@ module Extended_machtype = struct
1140
1140
1141
1141
let typ_any_int = [| Extended_machtype_component. Any_int |]
1142
1142
1143
- let typ_int64 = [| Extended_machtype_component. Any_int |]
1144
-
1145
1143
let typ_float = [| Extended_machtype_component. Float |]
1146
1144
1147
1145
let typ_vec128 = [| Extended_machtype_component. Vec128 |]
@@ -3906,12 +3904,6 @@ let emit_preallocated_blocks preallocated_blocks cont =
3906
3904
3907
3905
(* Helper functions and values used by Flambda 2. *)
3908
3906
3909
- let typ_int64 =
3910
- match Arch. size_int with
3911
- | 4 -> [| Cmm. Int ; Cmm. Int |]
3912
- | 8 -> [| Cmm. Int |]
3913
- | _ -> Misc. fatal_errorf " Unsupported Arch.size_int = %d" Arch. size_int
3914
-
3915
3907
let void = Ctuple []
3916
3908
3917
3909
let unit ~dbg = Cconst_int (1 , dbg)
Original file line number Diff line number Diff line change @@ -395,8 +395,6 @@ module Extended_machtype : sig
395
395
396
396
val typ_any_int : t
397
397
398
- val typ_int64 : t
399
-
400
398
val typ_float : t
401
399
402
400
val typ_void : t
@@ -970,9 +968,6 @@ val emit_preallocated_blocks :
970
968
971
969
(* * {1} Helper functions and values used by Flambda 2. *)
972
970
973
- (* * An adequate Cmm machtype for an int64 (including on a 32-bit target). *)
974
- val typ_int64 : Cmm .machtype
975
-
976
971
(* CR mshinwell: [dbg] should not be optional. *)
977
972
978
973
(* * The void (i.e. empty tuple) cmm value. Not to be confused with [() : unit]. *)
Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ let machtype_of_kind (kind : Flambda_kind.With_subkind.t) =
50
50
| Value_array | Generic_array ->
51
51
Cmm. typ_val)
52
52
| Naked_number Naked_float -> Cmm. typ_float
53
- | Naked_number Naked_int64 -> typ_int64
54
53
| Naked_number Naked_vec128 -> Cmm. typ_vec128
55
- | Naked_number (Naked_immediate | Naked_int32 | Naked_nativeint ) ->
54
+ | Naked_number (Naked_immediate | Naked_int32 | Naked_int64 | Naked_nativeint )
55
+ ->
56
56
Cmm. typ_int
57
57
| Region | Rec_info -> assert false
58
58
@@ -66,9 +66,9 @@ let extended_machtype_of_kind (kind : Flambda_kind.With_subkind.t) =
66
66
| Value_array | Generic_array ->
67
67
Extended_machtype. typ_val)
68
68
| Naked_number Naked_float -> Extended_machtype. typ_float
69
- | Naked_number Naked_int64 -> Extended_machtype. typ_int64
70
69
| Naked_number Naked_vec128 -> Extended_machtype. typ_vec128
71
- | Naked_number (Naked_immediate | Naked_int32 | Naked_nativeint ) ->
70
+ | Naked_number (Naked_immediate | Naked_int32 | Naked_int64 | Naked_nativeint )
71
+ ->
72
72
Extended_machtype. typ_any_int
73
73
| Region | Rec_info -> assert false
74
74
Original file line number Diff line number Diff line change @@ -910,8 +910,6 @@ module Extended_machtype = struct
910
910
911
911
let typ_any_int = [| Extended_machtype_component. Any_int |]
912
912
913
- let typ_int64 = [| Extended_machtype_component. Any_int |]
914
-
915
913
let typ_float = [| Extended_machtype_component. Float |]
916
914
917
915
let typ_void = [||]
Original file line number Diff line number Diff line change @@ -311,8 +311,6 @@ module Extended_machtype : sig
311
311
312
312
val typ_any_int : t
313
313
314
- val typ_int64 : t
315
-
316
314
val typ_float : t
317
315
318
316
val typ_void : t
You can’t perform that action at this time.
0 commit comments