diff options
Diffstat (limited to 'llvm/utils/UpdateTestChecks/common.py')
-rw-r--r-- | llvm/utils/UpdateTestChecks/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/UpdateTestChecks/common.py b/llvm/utils/UpdateTestChecks/common.py index b3ca33f..38b5b1d 100644 --- a/llvm/utils/UpdateTestChecks/common.py +++ b/llvm/utils/UpdateTestChecks/common.py @@ -504,11 +504,11 @@ def get_ir_prefix_from_ir_value_re_match(match): return nameless_values[idx].ir_regexp return nameless_values[idx].global_ir_prefix_regexp -# Return true if this kind or IR value is "local", basically if it matches '%{{.*}}'. +# Return true if this kind of IR value is "local", basically if it matches '%{{.*}}'. def is_local_def_ir_value_match(match): return nameless_values[get_idx_from_ir_value_match(match)].ir_prefix == '%' -# Return true if this kind or IR value is "local", basically if it matches '%{{.*}}'. +# Return true if this kind of IR value is "global", basically if it matches '#{{.*}}'. def is_global_scope_ir_value_match(match): return nameless_values[get_idx_from_ir_value_match(match)].global_ir_prefix is not None |