summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-12-12 11:51:23 +0000
committerTim Northover <tnorthover@apple.com>2013-12-12 11:51:23 +0000
commit444eba2d4d0f9ab4efc1e7da7dd993adca63ea6c (patch)
treeab7cbe1fa93219d58009a379228d441f54f35c93 /llvm/test/CodeGen/PowerPC
parent9b5c3dcf01223b884fca3076b4f16eaa62de83c4 (diff)
downloadbcm5719-llvm-444eba2d4d0f9ab4efc1e7da7dd993adca63ea6c.tar.gz
bcm5719-llvm-444eba2d4d0f9ab4efc1e7da7dd993adca63ea6c.zip
PowerPC: add Linux triple to TLS tests
The tests were failing on OS X. llvm-svn: 197146
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
-rw-r--r--llvm/test/CodeGen/PowerPC/tls-pic.ll1
-rw-r--r--llvm/test/CodeGen/PowerPC/tls.ll2
2 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/PowerPC/tls-pic.ll b/llvm/test/CodeGen/PowerPC/tls-pic.ll
index 7c9433fb012..9f3ab6e3b49 100644
--- a/llvm/test/CodeGen/PowerPC/tls-pic.ll
+++ b/llvm/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/llvm/test/CodeGen/PowerPC/tls.ll b/llvm/test/CodeGen/PowerPC/tls.ll
index 2274edf8e17..fd4c682cc1a 100644
--- a/llvm/test/CodeGen/PowerPC/tls.ll
+++ b/llvm/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:
OpenPOWER on IntegriCloud