A couple of tests, in llvm/test/Transforms/*/xcore, are XCore-specific. They should...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 18 Sep 2013 13:56:16 +0000 (13:56 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 18 Sep 2013 13:56:16 +0000 (13:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190938 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/LoopVectorize/xcore/lit.local.cfg [new file with mode: 0644]
test/Transforms/SLPVectorizer/xcore/lit.local.cfg [new file with mode: 0644]

diff --git a/test/Transforms/LoopVectorize/xcore/lit.local.cfg b/test/Transforms/LoopVectorize/xcore/lit.local.cfg
new file mode 100644 (file)
index 0000000..4d17d46
--- /dev/null
@@ -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 (file)
index 0000000..4d17d46
--- /dev/null
@@ -0,0 +1,3 @@
+targets = set(config.root.targets_to_build.split())
+if not 'XCore' in targets:
+    config.unsupported = True