summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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