[NVPTX] run SROA after NVPTXFavorNonGenericAddrSpaces
[oota-llvm.git] / test / CodeGen / CPP / lit.local.cfg
index 96596d85f6e43c9a608e29e053c57b16b6289eea..3ff5c6b69737088cb279abc0a3f6448d486fd2c3 100644 (file)
@@ -1,13 +1,3 @@
-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())
-if not 'CppBackend' in targets:
+if not 'CppBackend' in config.root.targets:
     config.unsupported = True