Skip to content

Commit

Permalink
Comment out reduce_op
Browse files Browse the repository at this point in the history
  • Loading branch information
jrk committed Sep 2, 2011
1 parent 4403c60 commit cb85e72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ir.ml
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,14 @@ type stmt =
(* | Reduce of reduce_op * expr * memref *) (* TODO: initializer expression? *)
| Store of expr * memref

(*
(* TODO: *)
and reduce_op =
| AddEq
| SubEq
| MulEq
| DivEq
*)

type arg =
| Scalar of string * val_type
Expand Down
2 changes: 2 additions & 0 deletions src/ir_printer.ml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ and string_of_stmt = function
(* | Reduce(op, e, mr) -> string_of_memref mr ^ string_of_reduce_op op ^ string_of_expr e *)
| Store(e, mr) -> string_of_memref mr ^ " = " ^ string_of_expr e

(*
and string_of_reduce_op = function
| AddEq -> "+="
| SubEq -> "-="
| MulEq -> "*="
| DivEq -> "/="
*)

and string_of_memref mr = string_of_buffer mr.buf ^ "[" ^ string_of_expr mr.idx ^ "]"

Expand Down

0 comments on commit cb85e72

Please sign in to comment.