Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu
[oota-llvm.git] / test / Transforms / TailDup / X86 / lit.local.cfg
index 84bd88ca33342784a5ef5198367739ed1932b457..da2db5a45f9c6f855b64dd9e7362e1681c3fae6b 100644 (file)
@@ -1,13 +1,6 @@
 config.suffixes = ['.ll']
 
-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