Skip to content

Commit fca8d96

Browse files
authored
Making Metal code-gen a bit faster (#7720)
removing redundant print_expr() call
1 parent 89ffae2 commit fca8d96

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/CodeGen_Metal_Dev.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ void CodeGen_Metal_Dev::CodeGen_Metal_C::visit(const Store *op) {
471471
allocations.get(op->name).type == t);
472472

473473
string id_index = print_expr(op->index);
474-
string id_value = print_expr(op->value);
475474
stream << get_indent();
476475

477476
if (type_cast_needed) {

0 commit comments

Comments
 (0)