[llvm] 377a276 - update_test_checks: remove an unused function

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 13:07:18 PDT 2024


Author: Nicolai Hähnle
Date: 2024-04-16T22:04:33+02:00
New Revision: 377a2767a9951659b5ec7309abb78da719a4f93b

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

LOG: update_test_checks: remove an unused function

Added: 
    

Modified: 
    llvm/utils/UpdateTestChecks/common.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/UpdateTestChecks/common.py b/llvm/utils/UpdateTestChecks/common.py
index ecb19d233a8d1a..eed36a0cdd73fd 100644
--- a/llvm/utils/UpdateTestChecks/common.py
+++ b/llvm/utils/UpdateTestChecks/common.py
@@ -980,10 +980,6 @@ def __init__(
     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


        


More information about the llvm-commits mailing list