aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/UpdateTestChecks/common.py
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2024-04-03 18:19:59 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2024-04-16 22:04:33 +0200
commit377a2767a9951659b5ec7309abb78da719a4f93b (patch)
treec875241a370fcf49f624d9e501d6790ab1191b1f /llvm/utils/UpdateTestChecks/common.py
parente770249d955e06f205e91017cd394d8670996168 (diff)
downloadllvm-377a2767a9951659b5ec7309abb78da719a4f93b.zip
llvm-377a2767a9951659b5ec7309abb78da719a4f93b.tar.gz
llvm-377a2767a9951659b5ec7309abb78da719a4f93b.tar.bz2
update_test_checks: remove an unused function
Diffstat (limited to 'llvm/utils/UpdateTestChecks/common.py')
-rw-r--r--llvm/utils/UpdateTestChecks/common.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/utils/UpdateTestChecks/common.py b/llvm/utils/UpdateTestChecks/common.py
index ecb19d2..eed36a0 100644
--- a/llvm/utils/UpdateTestChecks/common.py
+++ b/llvm/utils/UpdateTestChecks/common.py
@@ -980,10 +980,6 @@ class NamelessValue:
def is_local_def_ir_value(self):
return self.ir_prefix == "%"
- # Return true if this kind of IR value is "global", basically if it matches '#{{.*}}'.
- def is_global_scope_ir_value_match(self, match):
- return self.global_ir_rhs_regexp is not None
-
# Return the IR prefix and check prefix we use for this kind or IR value,
# e.g., (%, TMP) for locals. If the IR prefix is a regex, return the prefix
# used in the IR output