[InstCombine] mark ADD with nuw if no unsigned overflow
[oota-llvm.git] / test / ExecutionEngine / lit.local.cfg
index f0343263dba6169956d737cd724bbd186c0090b7..9ec54a583f8606df42cf9fbadf027d4f69539f81 100644 (file)
@@ -1,12 +1,14 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
+if config.root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']:
+    config.unsupported = True
 
-root = getRoot(config)
+# CMake and autoconf diverge in naming or host_arch
+if 'aarch64' in config.root.target_triple \
+    or 'arm64' in config.root.target_triple:
+        config.unsupported = True
 
-if root.host_arch in ['PowerPC']:
+if 'hexagon' in config.root.target_triple:
     config.unsupported = True
 
+# ExecutionEngine tests are not expected to pass in a cross-compilation setup.
+if 'native' not in config.available_features:
+    config.unsupported = True