From 9f90c7341562bd667879b1aa0ab874da1856e7d0 Mon Sep 17 00:00:00 2001 From: David Tweed Date: Fri, 7 Dec 2012 15:57:45 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169604 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/LoopIdiom/X86/lit.local.cfg | 6 ++++++ test/Transforms/LoopIdiom/{ => X86}/popcnt.ll | 0 2 files changed, 6 insertions(+) create mode 100644 test/Transforms/LoopIdiom/X86/lit.local.cfg rename test/Transforms/LoopIdiom/{ => X86}/popcnt.ll (100%) diff --git a/test/Transforms/LoopIdiom/X86/lit.local.cfg b/test/Transforms/LoopIdiom/X86/lit.local.cfg new file mode 100644 index 00000000000..a8ad0f1a28b --- /dev/null +++ b/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/test/Transforms/LoopIdiom/popcnt.ll b/test/Transforms/LoopIdiom/X86/popcnt.ll similarity index 100% rename from test/Transforms/LoopIdiom/popcnt.ll rename to test/Transforms/LoopIdiom/X86/popcnt.ll -- 2.34.1