Skip to content

Commit

Permalink
machinecode: Use variable names in emitted IR
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Povišer <povik@cutebit.org>
  • Loading branch information
povik committed Feb 20, 2024
1 parent a83f826 commit f1b8087
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fold/machinecode/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,7 @@ def impl_var(self, vardecl):

with self.builder.goto_block(self.function_parent.alloc_block):
self.varptrs[var] = self.b.alloca(ir_type(var.shape))
self.varptrs[var].name = varname

@property
@cache
Expand Down

0 comments on commit f1b8087

Please sign in to comment.