1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

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

llvm-svn: 166796
This commit is contained in:
Nadav Rotem 2012-10-26 18:52:01 +00:00
parent 4b51029c9e
commit 137991e110
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