Skip to content

Commit

Permalink
[SPARC] Disable unsupported ExecutionEngine tests, and XFAIL a couple
Browse files Browse the repository at this point in the history
of DebugInfo tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244371 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
jyknight committed Aug 7, 2015
1 parent 0346fc9 commit 99c91eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions test/DebugInfo/PR20038.ll
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion test/DebugInfo/missing-abstract-variable.ll
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
5 changes: 4 additions & 1 deletion test/ExecutionEngine/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit 99c91eb

Please sign in to comment.