From 335ac33339ca9248c204a5891529d754604f5437 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sun, 12 Jun 2016 19:00:59 -0700 Subject: [PATCH] Improve diagnostic in check_for_inactive_iname_access --- loopy/check.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/loopy/check.py b/loopy/check.py index 0ef1f163a..d3040ac90 100644 --- a/loopy/check.py +++ b/loopy/check.py @@ -82,8 +82,9 @@ def check_for_inactive_iname_access(kernel): if not expression_inames <= kernel.insn_inames(insn): raise LoopyError( "instruction '%s' references " - "inames that the instruction does not depend on" - % insn.id) + "inames '%s' that the instruction does not depend on" + % (insn.id, + ", ".join(expression_inames - kernel.insn_inames(insn)))) def _is_racing_iname_tag(tv, tag): -- GitLab