From: James Y Knight Date: Fri, 7 Aug 2015 23:01:16 +0000 (+0000) Subject: [SPARC] Disable unsupported ExecutionEngine tests, and XFAIL a couple X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=99c91ebb8139fba8f3c03d2a9d43a9452fbe21d1 [SPARC] Disable unsupported ExecutionEngine tests, and XFAIL a couple of DebugInfo tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244371 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/DebugInfo/PR20038.ll b/test/DebugInfo/PR20038.ll index 881d8e725a8..7560130e6d0 100644 --- a/test/DebugInfo/PR20038.ll +++ b/test/DebugInfo/PR20038.ll @@ -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: diff --git a/test/DebugInfo/missing-abstract-variable.ll b/test/DebugInfo/missing-abstract-variable.ll index 186d6e3e553..88b32aad6d5 100644 --- a/test/DebugInfo/missing-abstract-variable.ll +++ b/test/DebugInfo/missing-abstract-variable.ll @@ -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. diff --git a/test/ExecutionEngine/lit.local.cfg b/test/ExecutionEngine/lit.local.cfg index f6673df3c35..88e3e9b2388 100644 --- a/test/ExecutionEngine/lit.local.cfg +++ b/test/ExecutionEngine/lit.local.cfg @@ -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