aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/UpdateTestChecks/common.py
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2022-01-28 14:44:25 +0000
committerJay Foad <jay.foad@amd.com>2022-01-28 14:45:47 +0000
commitde37912f000e7e8e42fbf16a832dd4020f85c06f (patch)
tree19ebd073554fec8c43e3a164b2ffbc877bbc7b09 /llvm/utils/UpdateTestChecks/common.py
parentc7bb3665a1c4a06754e486d8567182821fa32b55 (diff)
downloadllvm-de37912f000e7e8e42fbf16a832dd4020f85c06f.zip
llvm-de37912f000e7e8e42fbf16a832dd4020f85c06f.tar.gz
llvm-de37912f000e7e8e42fbf16a832dd4020f85c06f.tar.bz2
[update_test_checks] Fix option name in warning message
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 cf8c888..269b429 100644
--- a/llvm/utils/UpdateTestChecks/common.py
+++ b/llvm/utils/UpdateTestChecks/common.py
@@ -605,7 +605,7 @@ def generalize_check_lines(lines, is_analyze, vars_seen, global_vars_seen):
var = get_name_from_ir_value_match(match)
for nameless_value in nameless_values:
if may_clash_with_default_check_prefix_name(nameless_value.check_prefix, var):
- warn("Change IR value name '%s' or use -prefix-ir-filecheck-name to prevent possible conflict"
+ warn("Change IR value name '%s' or use --prefix-filecheck-ir-name to prevent possible conflict"
" with scripted FileCheck name." % (var,))
key = (var, get_check_key_from_ir_value_match(match))
is_local_def = is_local_def_ir_value_match(match)