diff options
author | David Tweed <david.tweed@arm.com> | 2012-12-07 15:57:45 +0000 |
---|---|---|
committer | David Tweed <david.tweed@arm.com> | 2012-12-07 15:57:45 +0000 |
commit | 9f90c7341562bd667879b1aa0ab874da1856e7d0 (patch) | |
tree | 5b2f3429397680ac2cc3d9ac9f8d3a19f3414876 /test/Transforms/LoopIdiom | |
parent | 645016533d1208d2e7a17d917d64b8b63c4f9939 (diff) |
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
Diffstat (limited to 'test/Transforms/LoopIdiom')
-rw-r--r-- | test/Transforms/LoopIdiom/X86/lit.local.cfg | 6 | ||||
-rw-r--r-- | test/Transforms/LoopIdiom/X86/popcnt.ll (renamed from test/Transforms/LoopIdiom/popcnt.ll) | 0 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/LoopIdiom/X86/lit.local.cfg b/test/Transforms/LoopIdiom/X86/lit.local.cfg new file mode 100644 index 0000000000..a8ad0f1a28 --- /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 index 039af8024d..039af8024d 100644 --- a/test/Transforms/LoopIdiom/popcnt.ll +++ b/test/Transforms/LoopIdiom/X86/popcnt.ll |