Support for Hexagon VLIW Packetizer.
[oota-llvm.git] / test / CodeGen / XCore / lit.local.cfg
index c697912418e301234b72ed44fa9471e03a779f3a..f8726af57f7996a7a9639ed313cdee5481bb187c 100644 (file)
@@ -1,13 +1,6 @@
 config.suffixes = ['.ll', '.c', '.cpp']
 
-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 'XCore' in targets:
     config.unsupported = True