[llvm] r190938 - A couple of tests, in llvm/test/Transforms/*/xcore, are XCore-specific. They should be excluded when XCore is not built.
NAKAMURA Takumi
geek4civic at gmail.com
Wed Sep 18 06:56:16 PDT 2013
Author: chapuni
Date: Wed Sep 18 08:56:16 2013
New Revision: 190938
URL: http://llvm.org/viewvc/llvm-project?rev=190938&view=rev
Log:
A couple of tests, in llvm/test/Transforms/*/xcore, are XCore-specific. They should be excluded when XCore is not built.
Added:
llvm/trunk/test/Transforms/LoopVectorize/xcore/lit.local.cfg
llvm/trunk/test/Transforms/SLPVectorizer/xcore/lit.local.cfg
Added: llvm/trunk/test/Transforms/LoopVectorize/xcore/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopVectorize/xcore/lit.local.cfg?rev=190938&view=auto
==============================================================================
--- llvm/trunk/test/Transforms/LoopVectorize/xcore/lit.local.cfg (added)
+++ llvm/trunk/test/Transforms/LoopVectorize/xcore/lit.local.cfg Wed Sep 18 08:56:16 2013
@@ -0,0 +1,3 @@
+targets = set(config.root.targets_to_build.split())
+if not 'XCore' in targets:
+ config.unsupported = True
Added: llvm/trunk/test/Transforms/SLPVectorizer/xcore/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SLPVectorizer/xcore/lit.local.cfg?rev=190938&view=auto
==============================================================================
--- llvm/trunk/test/Transforms/SLPVectorizer/xcore/lit.local.cfg (added)
+++ llvm/trunk/test/Transforms/SLPVectorizer/xcore/lit.local.cfg Wed Sep 18 08:56:16 2013
@@ -0,0 +1,3 @@
+targets = set(config.root.targets_to_build.split())
+if not 'XCore' in targets:
+ config.unsupported = True
More information about the llvm-commits
mailing list