Skip to content
Snippets Groups Projects
Commit 530bec87 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix check_for_inactive_iname_access.

parent afed4a24
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ def check_for_inactive_iname_access(kernel):
depmap = DependencyMapper()
for insn in kernel.instructions:
expression_indices = depmap(insn.assignee.index)
expression_indices = depmap(insn.expression)
expression_inames = expression_indices & kernel.all_inames()
if not expression_inames <= insn.all_inames():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment