[PowerPC][NFC] Use -mtriple in RUN line, remove target triple in tls.ll
authorJinsong Ji <jji@us.ibm.com>
Fri, 30 Aug 2019 02:57:33 +0000 (02:57 +0000)
committerJinsong Ji <jji@us.ibm.com>
Fri, 30 Aug 2019 02:57:33 +0000 (02:57 +0000)
To avoid confusion, especially when -mtriple are also added for PPC32.

llvm-svn: 370427

llvm/test/CodeGen/PowerPC/tls.ll

index 1d6b22e..18ca23b 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: llc -relocation-model=static -verify-machineinstrs -O0 < %s -mcpu=ppc64 | FileCheck -check-prefix=OPT0 %s
-; RUN: llc -relocation-model=static -verify-machineinstrs -O1 < %s -mcpu=ppc64 | FileCheck -check-prefix=OPT1 %s
+; RUN: llc -relocation-model=static -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu \
+; RUN:     -O0 < %s -mcpu=ppc64 | FileCheck -check-prefix=OPT0 %s
+; RUN: llc -relocation-model=static -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu \
+; RUN:     -O1 < %s -mcpu=ppc64 | FileCheck -check-prefix=OPT1 %s
 ; RUN: llc -verify-machineinstrs -O0 < %s -mtriple=ppc32-- -mcpu=ppc | FileCheck -check-prefix=OPT0-PPC32 %s
 ; RUN: llc -relocation-model=pic -verify-machineinstrs -O0 < %s -mtriple=ppc32-- -mcpu=ppc | FileCheck -check-prefix=OPT0-PPC32-PIC %s
 
-target triple = "powerpc64-unknown-linux-gnu"
-
 @a = thread_local global i32 0, align 4
 
 ;OPT0-LABEL:          localexec: