File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ let init ~label =
5757type library = { lib : (Dl .library [@ sexp.opaque]); libname : string } [@@ deriving sexp_of ]
5858
5959type procedure = {
60- lowered : Low_level .optimized ;
6160 bindings : Indexing .unit_bindings ;
6261 name : string ;
6362 result : library ;
@@ -157,7 +156,7 @@ let%diagn_sexp compile ~(name : string) ~opt_ctx_arrays bindings (lowered : Low_
157156 let params = Syntax. compile_proc ~name pp_file.ppf idx_params ~is_global lowered in
158157 pp_file.finalize () ;
159158 let result = c_compile_and_load ~f_name: pp_file.f_name in
160- { lowered; result; params; bindings; name; opt_ctx_arrays }
159+ { result; params; bindings; name; opt_ctx_arrays }
161160
162161let % diagn_sexp compile_batch ~names ~opt_ctx_arrays bindings
163162 (lowereds : Low_level.optimized option array ) =
@@ -207,9 +206,8 @@ let%diagn_sexp compile_batch ~names ~opt_ctx_arrays bindings
207206 let opt_ctx_arrays = Option. map opt_ctx_arrays ~f: (fun _ -> ! global_ctx_arrays) in
208207 ( opt_ctx_arrays,
209208 Array. mapi params ~f: (fun i params ->
210- Option. map2 names.(i) lowereds.(i) ~f: (fun name lowered ->
209+ Option. map names.(i) ~f: (fun name ->
211210 {
212- lowered;
213211 result;
214212 params = Option. value_exn ~here: [% here] params;
215213 bindings;
Original file line number Diff line number Diff line change @@ -116,7 +116,6 @@ type procedure = {
116116 result : (Gccjit .result [@ sexp.opaque]);
117117 opt_ctx_arrays : Ndarray .t Map .M (Tn ).t option ;
118118 params : param_source list ;
119- expected_merge_node : Tn .t option ;
120119}
121120[@@ deriving sexp_of ]
122121
@@ -737,7 +736,6 @@ let compile ~(name : string) ~opt_ctx_arrays bindings (lowered : Low_level.optim
737736 name;
738737 opt_ctx_arrays;
739738 params = List. map ~f: snd params;
740- expected_merge_node = lowered.merge_node;
741739 }
742740
743741let % diagn_sexp compile_batch ~(names : string option array ) ~opt_ctx_arrays bindings
@@ -783,8 +781,6 @@ let%diagn_sexp compile_batch ~(names : string option array) ~opt_ctx_arrays bind
783781 name;
784782 opt_ctx_arrays;
785783 params = List. map ~f: snd params;
786- expected_merge_node =
787- Option. (join @@ map lowereds.(i) ~f: (fun optim -> optim.merge_node));
788784 })) )
789785
790786let alloc_buffer ?old_buffer ~size_in_bytes () =
You can’t perform that action at this time.
0 commit comments