Skip to content

Commit

Permalink
Remove the items attribute from tuple operands.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiel-nv committed Mar 3, 2025
1 parent 851236e commit 8d4f140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvmlite/ir/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def add_debug_info(self, kind, operands, is_distinct=False):
an instruction.
"""
operands = tuple(sorted(self._fix_di_operands(operands.items())))
str_op_key = tuple(sorted(self.str_ditok_operands(operands.items())))
str_op_key = tuple(sorted(self.str_ditok_operands(operands)))
key = (kind, str_op_key, is_distinct)
if key not in self._metadatacache:
n = len(self.metadata)
Expand Down

0 comments on commit 8d4f140

Please sign in to comment.