Allow x86 mov instructions to/from memory with absolute address to be encoded and...
[oota-llvm.git] / test / ExecutionEngine / lit.local.cfg
index f0343263dba6169956d737cd724bbd186c0090b7..28c56ad9c5c2405f9d9eb4faa7f2646a12c7cf78 100644 (file)
@@ -1,12 +1,9 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
+if config.root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']:
+    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