summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopIdiom
diff options
context:
space:
mode:
authorDavid Tweed <david.tweed@arm.com>2012-12-07 15:57:45 +0000
committerDavid Tweed <david.tweed@arm.com>2012-12-07 15:57:45 +0000
commitcfeb8fc49a69981cf3a66b967dc6df7eeee22ed0 (patch)
tree7b84cbea449317ae25bae4a67b21b52840b9ce10 /llvm/test/Transforms/LoopIdiom
parent59ff070376d90db9ec4f5e2fab208bc4c76ebe75 (diff)
downloadbcm5719-llvm-cfeb8fc49a69981cf3a66b967dc6df7eeee22ed0.tar.gz
bcm5719-llvm-cfeb8fc49a69981cf3a66b967dc6df7eeee22ed0.zip
The test unconditionally assumes a particular cpu has a backend build in the target.
Buildbots for some hosts may choose to build only their own backend in order to maximise testing-turnaround time. Move the test into a prefixed directory so lit's standard "backend specific" suppression can be done. llvm-svn: 169604
Diffstat (limited to 'llvm/test/Transforms/LoopIdiom')
-rw-r--r--llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg6
-rw-r--r--llvm/test/Transforms/LoopIdiom/X86/popcnt.ll (renamed from llvm/test/Transforms/LoopIdiom/popcnt.ll)0
2 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg b/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg
new file mode 100644
index 00000000000..a8ad0f1a28b
--- /dev/null
+++ b/llvm/test/Transforms/LoopIdiom/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
+
diff --git a/llvm/test/Transforms/LoopIdiom/popcnt.ll b/llvm/test/Transforms/LoopIdiom/X86/popcnt.ll
index 039af8024d3..039af8024d3 100644
--- a/llvm/test/Transforms/LoopIdiom/popcnt.ll
+++ b/llvm/test/Transforms/LoopIdiom/X86/popcnt.ll
OpenPOWER on IntegriCloud