Skip to content

Commit 263bc43

Browse files
committed
low_level.ml: clarify comment
1 parent 4c82399 commit 263bc43

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arrayjit/lib/low_level.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ let cleanup_virtual_llc reverse_node_map ~static_indices (llc : t) : t =
498498
match Hashtbl.find reverse_node_map index with
499499
| Some a ->
500500
if not @@ Tn.known_non_virtual a then (
501-
(* FIXME: *)
501+
(* FIXME(#296): *)
502502
Tn.update_memory_mode a Virtual 15;
503503
None)
504504
else
@@ -509,13 +509,13 @@ let cleanup_virtual_llc reverse_node_map ~static_indices (llc : t) : t =
509509
@@ loop_proc ~balanced ~env_dom body)
510510
| Zero_out tn ->
511511
if not @@ Tn.known_non_virtual tn then (
512-
(* FIXME: *)
512+
(* FIXME(#296): *)
513513
Tn.update_memory_mode tn Virtual 151;
514514
None)
515515
else Some llc
516516
| Set { tn; idcs; llv; debug = _ } ->
517517
if not @@ Tn.known_non_virtual tn then (
518-
(* FIXME: *)
518+
(* FIXME(#296): *)
519519
Tn.update_memory_mode tn Virtual 152;
520520
None)
521521
else (
@@ -533,7 +533,7 @@ let cleanup_virtual_llc reverse_node_map ~static_indices (llc : t) : t =
533533
match llv with
534534
| Constant _ -> llv
535535
| Get (a, indices) ->
536-
(* DEBUG: *)
536+
(* TODO(#296): this should probably already be Never_virtual, we could assert it. *)
537537
Tn.update_memory_mode a Never_virtual 17;
538538
assert (
539539
Array.for_all indices ~f:(function Indexing.Iterator s -> Set.mem env_dom s | _ -> true));

0 commit comments

Comments
 (0)