[llvm] de37912 - [update_test_checks] Fix option name in warning message

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 28 06:46:13 PST 2022


Author: Jay Foad
Date: 2022-01-28T14:45:47Z
New Revision: de37912f000e7e8e42fbf16a832dd4020f85c06f

URL: https://github.com/llvm/llvm-project/commit/de37912f000e7e8e42fbf16a832dd4020f85c06f
DIFF: https://github.com/llvm/llvm-project/commit/de37912f000e7e8e42fbf16a832dd4020f85c06f.diff

LOG: [update_test_checks] Fix option name in warning message

Added: 
    

Modified: 
    llvm/utils/UpdateTestChecks/common.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/UpdateTestChecks/common.py b/llvm/utils/UpdateTestChecks/common.py
index cf8c8881c8513..269b429d1852c 100644
--- a/llvm/utils/UpdateTestChecks/common.py
+++ b/llvm/utils/UpdateTestChecks/common.py
@@ -605,7 +605,7 @@ def transform_line_vars(match):
     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)


        


More information about the llvm-commits mailing list