[llvm] r197146 - PowerPC: add Linux triple to TLS tests

Tim Northover tnorthover at apple.com
Thu Dec 12 03:51:23 PST 2013


Author: tnorthover
Date: Thu Dec 12 05:51:23 2013
New Revision: 197146

URL: http://llvm.org/viewvc/llvm-project?rev=197146&view=rev
Log:
PowerPC: add Linux triple to TLS tests

The tests were failing on OS X.

Modified:
    llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll
    llvm/trunk/test/CodeGen/PowerPC/tls.ll

Modified: llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll?rev=197146&r1=197145&r2=197146&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll Thu Dec 12 05:51:23 2013
@@ -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.
 

Modified: llvm/trunk/test/CodeGen/PowerPC/tls.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/tls.ll?rev=197146&r1=197145&r2=197146&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/tls.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/tls.ll Thu Dec 12 05:51:23 2013
@@ -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:





More information about the llvm-commits mailing list