Skip to content

Commit

Permalink
Fix small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tehrengruber committed Feb 26, 2024
1 parent a7a264e commit 73f1ed4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ def visit_FunCall(self, node: itir.FunCall, **kwargs):
if common_pattern_matcher.is_applied_lift(arg) and is_center_derefed_only(param):
eligible_params[i] = True
bound_arg_name = self.uids.sequential_id(prefix="_icdlv")
capture_lift = im.lift(im.lambda_()(bound_arg_name))()
assert capture_lift == im.promote_to_const_iterator(bound_arg_name)
capture_lift = im.promote_to_const_iterator(bound_arg_name)
copy_recorded_shifts(from_=param, to=capture_lift)
new_args.append(capture_lift)
# since we deref an applied lift here we can (but don't need to) immediately
Expand Down

0 comments on commit 73f1ed4

Please sign in to comment.