aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/UpdateTestChecks/common.py
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2024-10-07 11:45:44 +0200
committerGitHub <noreply@github.com>2024-10-07 11:45:44 +0200
commitae6af37bf47d830becc0cd0c8a309af70fdf502c (patch)
tree108ec74b4cfef7d6b125af961c2e712c79553288 /llvm/utils/UpdateTestChecks/common.py
parentc98e41f8586bc43033d29ef3ec0f9a2f79b3ec32 (diff)
downloadllvm-ae6af37bf47d830becc0cd0c8a309af70fdf502c.zip
llvm-ae6af37bf47d830becc0cd0c8a309af70fdf502c.tar.gz
llvm-ae6af37bf47d830becc0cd0c8a309af70fdf502c.tar.bz2
update_test_checks: fix a simple regression (#111347)
Reported-by: Yingwei Zheng <dtcxzyw2333@gmail.com> Fixes: 02debcef12793b5 ("update_test_checks: improve IR value name stability (#110940)")
Diffstat (limited to 'llvm/utils/UpdateTestChecks/common.py')
-rw-r--r--llvm/utils/UpdateTestChecks/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/UpdateTestChecks/common.py b/llvm/utils/UpdateTestChecks/common.py
index 8ed600e..0fbb734 100644
--- a/llvm/utils/UpdateTestChecks/common.py
+++ b/llvm/utils/UpdateTestChecks/common.py
@@ -1603,7 +1603,7 @@ def remap_metavar_names(
if rhs_value.name in new_color.mapping:
# Same, but for a possible commit happening on the same line
- if new_color.color[rhs_value.name] == lhs_value.name:
+ if new_color.mapping[rhs_value.name] == lhs_value.name:
continue
else:
break