From bbc90cea144cc5a7a0959756d236a20ebb01b3c7 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 2 Jul 2015 01:36:31 +0000 Subject: [PATCH] Make an X86 specific directory and put the recent X86 tti specific inlining test into it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241223 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/Inline/{ => X86}/inline-target-attr.ll | 2 +- test/Transforms/Inline/X86/lit.local.cfg | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) rename test/Transforms/Inline/{ => X86}/inline-target-attr.ll (91%) create mode 100644 test/Transforms/Inline/X86/lit.local.cfg diff --git a/test/Transforms/Inline/inline-target-attr.ll b/test/Transforms/Inline/X86/inline-target-attr.ll similarity index 91% rename from test/Transforms/Inline/inline-target-attr.ll rename to test/Transforms/Inline/X86/inline-target-attr.ll index 90b393212e5..c59f4b4594b 100644 --- a/test/Transforms/Inline/inline-target-attr.ll +++ b/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/test/Transforms/Inline/X86/lit.local.cfg b/test/Transforms/Inline/X86/lit.local.cfg new file mode 100644 index 00000000000..e71f3cc4c41 --- /dev/null +++ b/test/Transforms/Inline/X86/lit.local.cfg @@ -0,0 +1,3 @@ +if not 'X86' in config.root.targets: + config.unsupported = True + -- 2.34.1