diff options
| author | Mehdi Amini <mehdi.amini@apple.com> | 2015-09-16 05:34:32 +0000 |
|---|---|---|
| committer | Mehdi Amini <mehdi.amini@apple.com> | 2015-09-16 05:34:32 +0000 |
| commit | d178f4fc895b432008fcd8a0a49a13d951fecfe4 (patch) | |
| tree | 19aeac350e85872308d275d4fe8cdce821771d5d /llvm/test/CodeGen/X86/GC | |
| parent | 8e468d6388ad3a91c2a835529729515c19f74186 (diff) | |
| download | bcm5719-llvm-d178f4fc895b432008fcd8a0a49a13d951fecfe4.tar.gz bcm5719-llvm-d178f4fc895b432008fcd8a0a49a13d951fecfe4.zip | |
Make the default triple optional by allowing an empty string
When building LLVM as a (potentially dynamic) library that can be linked against
by multiple compilers, the default triple is not really meaningful.
We allow to explicitely set it to an empty string when configuring LLVM.
In this case, said "target independent" tests in the test suite that are using
the default triple are disabled by matching the newly available feature
"default_triple".
Reviewers: probinson, echristo
Differential Revision: http://reviews.llvm.org/D12660
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 247775
Diffstat (limited to 'llvm/test/CodeGen/X86/GC')
| -rw-r--r-- | llvm/test/CodeGen/X86/GC/alloc_loop.ll | 1 | ||||
| -rw-r--r-- | llvm/test/CodeGen/X86/GC/cg-O0.ll | 1 | ||||
| -rw-r--r-- | llvm/test/CodeGen/X86/GC/lower_gcroot.ll | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/GC/alloc_loop.ll b/llvm/test/CodeGen/X86/GC/alloc_loop.ll index 2a505e80aac..b924e1cee06 100644 --- a/llvm/test/CodeGen/X86/GC/alloc_loop.ll +++ b/llvm/test/CodeGen/X86/GC/alloc_loop.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s +; REQUIRES: default_triple declare i8* @llvm_gc_allocate(i32) diff --git a/llvm/test/CodeGen/X86/GC/cg-O0.ll b/llvm/test/CodeGen/X86/GC/cg-O0.ll index b4929425e94..1a390c9eb1c 100644 --- a/llvm/test/CodeGen/X86/GC/cg-O0.ll +++ b/llvm/test/CodeGen/X86/GC/cg-O0.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -O0 +; REQUIRES: default_triple define i32 @main() { entry: diff --git a/llvm/test/CodeGen/X86/GC/lower_gcroot.ll b/llvm/test/CodeGen/X86/GC/lower_gcroot.ll index c2d418ac50e..8cccd78100f 100644 --- a/llvm/test/CodeGen/X86/GC/lower_gcroot.ll +++ b/llvm/test/CodeGen/X86/GC/lower_gcroot.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s +; REQUIRES: default_triple %Env = type i8* |

