aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/UpdateTestChecks/common.py
diff options
context:
space:
mode:
authorThomas Preud'homme <thomasp@graphcore.ai>2021-03-24 16:09:02 +0000
committerThomas Preud'homme <thomasp@graphcore.ai>2021-03-24 16:11:36 +0000
commit7dd90da79f082008fb443285c13bc2035c34e71d (patch)
tree208a9a62097cc70b18ff4d6f5164d837d9cad646 /llvm/utils/UpdateTestChecks/common.py
parent391b85bb03440edbe626dc21ad62ec1349291d37 (diff)
downloadllvm-7dd90da79f082008fb443285c13bc2035c34e71d.zip
llvm-7dd90da79f082008fb443285c13bc2035c34e71d.tar.gz
llvm-7dd90da79f082008fb443285c13bc2035c34e71d.tar.bz2
[UpdateTestChecks] Fix typo & copy/paste in comments
Diffstat (limited to 'llvm/utils/UpdateTestChecks/common.py')
-rw-r--r--llvm/utils/UpdateTestChecks/common.py4
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