PowerPC: add Linux triple to TLS tests
authorTim Northover <tnorthover@apple.com>
Thu, 12 Dec 2013 11:51:23 +0000 (11:51 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 12 Dec 2013 11:51:23 +0000 (11:51 +0000)
The tests were failing on OS X.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197146 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/tls-pic.ll
test/CodeGen/PowerPC/tls.ll

index 7c9433fb012435187f94b25e0169e7e57ade2a1a..9f3ab6e3b491698ec4e569397b1ce89d848fe35e 100644 (file)
@@ -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.
 
index 2274edf8e176936ebe1066b537f876bc18474530..fd4c682cc1a75f60afacb52283cc2e9aba920c56 100644 (file)
@@ -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: