[SPARC] Disable unsupported ExecutionEngine tests, and XFAIL a couple
authorJames Y Knight <jyknight@google.com>
Fri, 7 Aug 2015 23:01:16 +0000 (23:01 +0000)
committerJames Y Knight <jyknight@google.com>
Fri, 7 Aug 2015 23:01:16 +0000 (23:01 +0000)
of DebugInfo tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244371 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/PR20038.ll
test/DebugInfo/missing-abstract-variable.ll
test/ExecutionEngine/lit.local.cfg

index 881d8e725a8d5aa95262dcf9eb6e162b78d3fffd..7560130e6d018a09a1a5e239778846b507d148ce 100644 (file)
@@ -1,5 +1,8 @@
 ; REQUIRES: object-emission
 
+; For some reason, the output when targetting sparc is not quite as expected.
+; XFAIL: sparc
+
 ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-dump=info - | FileCheck %s
 
 ; IR generated from clang -O0 with:
index 186d6e3e55390f1209fa206a2bd32999519adeab..88b32aad6d5e342fa2a09c27556d14c356f55dca 100644 (file)
@@ -5,7 +5,7 @@
 ; The formal parameter 'b' for Function 'x' when inlined within 'a' is lost on
 ; mips and powerpc64 (and on x86_64 at at least -O2). Presumably this is a
 ; SelectionDAG issue (do mips/powerpc64 use FastISel?).
-; XFAIL: mips, powerpc64, s390x
+; XFAIL: mips, powerpc64, s390x, sparc
 
 ; Build from the following source with clang -O2.
 
index f6673df3c35823f7caf51104e9515ad6321632a1..88e3e9b23883c11b49685d22100fae3baf1f870b 100644 (file)
@@ -1,4 +1,4 @@
-if config.root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']:
+if config.root.host_arch in ['Sparc', 'PowerPC', 'AArch64', 'SystemZ']:
     config.unsupported = True
 
 # CMake and autoconf diverge in naming or host_arch
@@ -12,6 +12,9 @@ if 'aarch64' in config.root.target_triple \
 if 'hexagon' in config.root.target_triple:
     config.unsupported = True
 
+if 'sparc' 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