diff --git a/llvm/test/CodeGen/MLRegAlloc/Inputs/interactive_main.py b/llvm/test/CodeGen/MLRegAlloc/Inputs/interactive_main.py index 53809b0a040086..1f62a5c6c9a3be 100644 --- a/llvm/test/CodeGen/MLRegAlloc/Inputs/interactive_main.py +++ b/llvm/test/CodeGen/MLRegAlloc/Inputs/interactive_main.py @@ -2,6 +2,7 @@ import interactive_host import sys +from typing import Sequence def main(args): # this advisor just picks the first legal register to evict, which is @@ -9,7 +10,7 @@ def main(args): class Advisor: to_return = False - def advice(self, tensor_values: list[log_reader.TensorValue]): + def advice(self, tensor_values: Sequence[log_reader.TensorValue]): for tv in tensor_values: if tv.spec().name != "mask": continue diff --git a/llvm/test/CodeGen/MLRegAlloc/lit.local.cfg b/llvm/test/CodeGen/MLRegAlloc/lit.local.cfg deleted file mode 100644 index e8c7912650cb8e..00000000000000 --- a/llvm/test/CodeGen/MLRegAlloc/lit.local.cfg +++ /dev/null @@ -1,3 +0,0 @@ -import sys - -config.unsupported = sys.version_info.minor <= 8 diff --git a/llvm/test/Transforms/Inline/ML/lit.local.cfg b/llvm/test/Transforms/Inline/ML/lit.local.cfg deleted file mode 100644 index e8c7912650cb8e..00000000000000 --- a/llvm/test/Transforms/Inline/ML/lit.local.cfg +++ /dev/null @@ -1,3 +0,0 @@ -import sys - -config.unsupported = sys.version_info.minor <= 8