[ARMAsmParser] Sort the ARM register lists based on the encoding value, not the
[oota-llvm.git] / test / MC / ELF / lit.local.cfg
index 461c6f4f2b348fe31969af3cde1b9ab7090fdce3..56bf00859572ea9eb8fd5c92474e897912286063 100644 (file)
@@ -1,13 +1,6 @@
 config.suffixes = ['.ll', '.s']
 
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-targets = set(root.targets_to_build.split())
+targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True