summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-02-19 12:24:19 +0000
committerTim Northover <tnorthover@apple.com>2014-02-19 12:24:19 +0000
commitd495642c5410f11345c03fcaa35fd346ad9ab207 (patch)
tree8c8b6b10bb6544b203d881a5fa2c310c990b7dbd /llvm/test
parentdb3e5e2408c756bbf869ffc03168ae93f0dbb880 (diff)
downloadbcm5719-llvm-d495642c5410f11345c03fcaa35fd346ad9ab207.tar.gz
bcm5719-llvm-d495642c5410f11345c03fcaa35fd346ad9ab207.zip
X86: move test requiring X86TargetLowering info into its own directory
If LLVM is built without X86 as a supported target then the test would mysteriously fail. llvm-svn: 201668
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/CodeGenPrepare/X86/x86-shuffle-sink.ll (renamed from llvm/test/Transforms/CodeGenPrepare/x86-shuffle-sink.ll)0
2 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg
new file mode 100644
index 00000000000..ba763cf03ff
--- /dev/null
+++ b/llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg
@@ -0,0 +1,4 @@
+targets = set(config.root.targets_to_build.split())
+if not 'X86' in targets:
+ config.unsupported = True
+
diff --git a/llvm/test/Transforms/CodeGenPrepare/x86-shuffle-sink.ll b/llvm/test/Transforms/CodeGenPrepare/X86/x86-shuffle-sink.ll
index e945b03c33a..e945b03c33a 100644
--- a/llvm/test/Transforms/CodeGenPrepare/x86-shuffle-sink.ll
+++ b/llvm/test/Transforms/CodeGenPrepare/X86/x86-shuffle-sink.ll
OpenPOWER on IntegriCloud