|
12 | 12 | (* special exception on linking described in the file LICENSE. *)
|
13 | 13 | (* *)
|
14 | 14 | (**************************************************************************)
|
| 15 | +[@@@ocaml.warning "+a-30-40-41-42"] |
15 | 16 |
|
16 | 17 | (* Combine heap allocations occurring in the same basic block *)
|
17 | 18 |
|
@@ -84,7 +85,16 @@ let rec combine i allocstate =
|
84 | 85 | let newnext, s' = combine i.next allocstate in
|
85 | 86 | (instr_cons_debug i.desc i.arg i.res i.dbg newnext, s')
|
86 | 87 | end
|
87 |
| - | Iop _ -> |
| 88 | + | Iop((Imove|Ispill|Ireload|Inegf|Iabsf|Iaddf|Isubf|Imulf|Idivf|Ifloatofint| |
| 89 | + Iintoffloat|Iopaque|Iconst_int _|Iconst_float _| |
| 90 | + Iconst_symbol _|Istackoffset _|Iload (_, _, _)|Istore (_, _, _)|Icompf _| |
| 91 | + Ispecific _|Iname_for_debugger _|Iprobe_is_enabled _)) |
| 92 | + | Iop(Iintop(Iadd | Isub | Imul | Idiv | Imod | Iand | Ior | Ixor |
| 93 | + | Ilsl | Ilsr | Iasr | Ipopcnt | Imulh _ |
| 94 | + | Iclz _ | Ictz _ | Icomp _)) |
| 95 | + | Iop(Iintop_imm((Iadd | Isub | Imul | Idiv | Imod | Iand | Ior | Ixor |
| 96 | + | Ilsl | Ilsr | Iasr | Ipopcnt | Imulh _ |
| 97 | + | Iclz _ | Ictz _ | Icomp _),_)) -> |
88 | 98 | let (newnext, s') = combine i.next allocstate in
|
89 | 99 | (instr_cons_debug i.desc i.arg i.res i.dbg newnext, s')
|
90 | 100 | | Iifthenelse(test, ifso, ifnot) ->
|
|
0 commit comments