summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-07-02 01:36:31 +0000
committerEric Christopher <echristo@gmail.com>2015-07-02 01:36:31 +0000
commitced3032be56bc6b53f656533a6630c2717cc4850 (patch)
treed601fbfd24d60482921f969db2c93fa249b1ac62
parentd8923e64d8ff368ea13e7a88b7869740001b7fe8 (diff)
downloadbcm5719-llvm-ced3032be56bc6b53f656533a6630c2717cc4850.tar.gz
bcm5719-llvm-ced3032be56bc6b53f656533a6630c2717cc4850.zip
Make an X86 specific directory and put the recent X86 tti specific
inlining test into it. llvm-svn: 241223
-rw-r--r--llvm/test/Transforms/Inline/X86/inline-target-attr.ll (renamed from llvm/test/Transforms/Inline/inline-target-attr.ll)2
-rw-r--r--llvm/test/Transforms/Inline/X86/lit.local.cfg3
2 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/Transforms/Inline/inline-target-attr.ll b/llvm/test/Transforms/Inline/X86/inline-target-attr.ll
index 90b393212e5..c59f4b4594b 100644
--- a/llvm/test/Transforms/Inline/inline-target-attr.ll
+++ b/llvm/test/Transforms/Inline/X86/inline-target-attr.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -S -inline | FileCheck %s
+; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -S -inline | FileCheck %s
; Check that we only inline when we have compatible target attributes.
; X86 has implemented a target attribute that will verify that the attribute
; sets are compatible.
diff --git a/llvm/test/Transforms/Inline/X86/lit.local.cfg b/llvm/test/Transforms/Inline/X86/lit.local.cfg
new file mode 100644
index 00000000000..e71f3cc4c41
--- /dev/null
+++ b/llvm/test/Transforms/Inline/X86/lit.local.cfg
@@ -0,0 +1,3 @@
+if not 'X86' in config.root.targets:
+ config.unsupported = True
+
OpenPOWER on IntegriCloud