diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-10-26 18:52:01 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-10-26 18:52:01 +0000 |
commit | f56380114493ea501860aaff3c3b3b461c40233a (patch) | |
tree | bb07adf57e3ca93914b528cd3204b65f055a1dea /test | |
parent | e5551ed9cec1ae777c4e4b8852a1d7842c2e1c3d (diff) | |
download | external_llvm-f56380114493ea501860aaff3c3b3b461c40233a.zip external_llvm-f56380114493ea501860aaff3c3b3b461c40233a.tar.gz external_llvm-f56380114493ea501860aaff3c3b3b461c40233a.tar.bz2 |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/LoopVectorize/2012-10-22-isconsec.ll | 2 | ||||
-rw-r--r-- | test/Transforms/LoopVectorize/X86/cost-model.ll (renamed from test/Transforms/LoopVectorize/cost-model.ll) | 0 | ||||
-rw-r--r-- | test/Transforms/LoopVectorize/X86/lit.local.cfg | 6 |
3 files changed, 7 insertions, 1 deletions
diff --git a/test/Transforms/LoopVectorize/2012-10-22-isconsec.ll b/test/Transforms/LoopVectorize/2012-10-22-isconsec.ll index 12e8e55..2516e24 100644 --- a/test/Transforms/LoopVectorize/2012-10-22-isconsec.ll +++ b/test/Transforms/LoopVectorize/2012-10-22-isconsec.ll @@ -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. diff --git a/test/Transforms/LoopVectorize/cost-model.ll b/test/Transforms/LoopVectorize/X86/cost-model.ll index 628f991..628f991 100644 --- a/test/Transforms/LoopVectorize/cost-model.ll +++ b/test/Transforms/LoopVectorize/X86/cost-model.ll diff --git a/test/Transforms/LoopVectorize/X86/lit.local.cfg b/test/Transforms/LoopVectorize/X86/lit.local.cfg new file mode 100644 index 0000000..a8ad0f1 --- /dev/null +++ b/test/Transforms/LoopVectorize/X86/lit.local.cfg @@ -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 + |