summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-09-18 13:56:16 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-09-18 13:56:16 +0000
commitfa7b1e24e51e94f29a3d0d33a0b1dd329024d5b4 (patch)
tree7b69aa95cb4fec5c8fb1f13e3a52e408ef91d5cc
parent8c03d6a9e8381f60cd5ae7f14cc119e26b32daa5 (diff)
downloadllvm-fa7b1e24e51e94f29a3d0d33a0b1dd329024d5b4.tar.gz
llvm-fa7b1e24e51e94f29a3d0d33a0b1dd329024d5b4.tar.bz2
llvm-fa7b1e24e51e94f29a3d0d33a0b1dd329024d5b4.tar.xz
A couple of tests, in llvm/test/Transforms/*/xcore, are XCore-specific. They should be excluded when XCore is not built.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190938 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Transforms/LoopVectorize/xcore/lit.local.cfg3
-rw-r--r--test/Transforms/SLPVectorizer/xcore/lit.local.cfg3
2 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/LoopVectorize/xcore/lit.local.cfg b/test/Transforms/LoopVectorize/xcore/lit.local.cfg
new file mode 100644
index 0000000000..4d17d46420
--- /dev/null
+++ b/test/Transforms/LoopVectorize/xcore/lit.local.cfg
@@ -0,0 +1,3 @@
+targets = set(config.root.targets_to_build.split())
+if not 'XCore' in targets:
+ config.unsupported = True
diff --git a/test/Transforms/SLPVectorizer/xcore/lit.local.cfg b/test/Transforms/SLPVectorizer/xcore/lit.local.cfg
new file mode 100644
index 0000000000..4d17d46420
--- /dev/null
+++ b/test/Transforms/SLPVectorizer/xcore/lit.local.cfg
@@ -0,0 +1,3 @@
+targets = set(config.root.targets_to_build.split())
+if not 'XCore' in targets:
+ config.unsupported = True