Move the target-specific tests, which require specific backends, to dirs that only run if the target is present.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166796 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nadav Rotem 2012-10-26 18:52:01 +00:00
parent e5551ed9ce
commit f563801144
3 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
; RUN: opt < %s -loop-vectorize -dce
; RUN: opt < %s -loop-vectorize -dce -force-vector-width=4
; Check that we don't crash.

View File

@ -0,0 +1,6 @@
config.suffixes = ['.ll', '.c', '.cpp']
targets = set(config.root.targets_to_build.split())
if not 'X86' in targets:
config.unsupported = True