diff options
author | Tim Northover <tnorthover@apple.com> | 2013-12-12 11:51:23 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-12-12 11:51:23 +0000 |
commit | 8b28f53eaef7b5f098187bff73489f679a963cee (patch) | |
tree | 1af2e284914c27a34f683919eec0060176bad6f1 /test | |
parent | a29b054e7a88fefb17b099a2e7727897f8b3743a (diff) | |
download | llvm-8b28f53eaef7b5f098187bff73489f679a963cee.tar.gz llvm-8b28f53eaef7b5f098187bff73489f679a963cee.tar.bz2 llvm-8b28f53eaef7b5f098187bff73489f679a963cee.tar.xz |
PowerPC: add Linux triple to TLS tests
The tests were failing on OS X.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197146 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/PowerPC/tls-pic.ll | 1 | ||||
-rw-r--r-- | test/CodeGen/PowerPC/tls.ll | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/tls-pic.ll b/test/CodeGen/PowerPC/tls-pic.ll index 7c9433fb01..9f3ab6e3b4 100644 --- a/test/CodeGen/PowerPC/tls-pic.ll +++ b/test/CodeGen/PowerPC/tls-pic.ll @@ -1,6 +1,7 @@ ; RUN: llc -march=ppc64 -mcpu=pwr7 -O0 -relocation-model=pic < %s | FileCheck -check-prefix=OPT0 %s ; RUN: llc -march=ppc64 -mcpu=pwr7 -O1 -relocation-model=pic < %s | FileCheck -check-prefix=OPT1 %s +target triple = "powerpc64-unknown-linux-gnu" ; Test correct assembly code generation for thread-local storage using ; the local dynamic model. diff --git a/test/CodeGen/PowerPC/tls.ll b/test/CodeGen/PowerPC/tls.ll index 2274edf8e1..fd4c682cc1 100644 --- a/test/CodeGen/PowerPC/tls.ll +++ b/test/CodeGen/PowerPC/tls.ll @@ -1,6 +1,8 @@ ; RUN: llc -O0 < %s -march=ppc64 -mcpu=ppc64 | FileCheck -check-prefix=OPT0 %s ; RUN: llc -O1 < %s -march=ppc64 -mcpu=ppc64 | FileCheck -check-prefix=OPT1 %s +target triple = "powerpc64-unknown-linux-gnu" + @a = thread_local global i32 0, align 4 ;OPT0-LABEL: localexec: |