[llvm] r370427 - [PowerPC][NFC] Use -mtriple in RUN line, remove target triple in tls.ll
Jinsong Ji via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 19:57:33 PDT 2019
Author: jsji
Date: Thu Aug 29 19:57:33 2019
New Revision: 370427
URL: http://llvm.org/viewvc/llvm-project?rev=370427&view=rev
Log:
[PowerPC][NFC] Use -mtriple in RUN line, remove target triple in tls.ll
To avoid confusion, especially when -mtriple are also added for PPC32.
Modified:
llvm/trunk/test/CodeGen/PowerPC/tls.ll
Modified: llvm/trunk/test/CodeGen/PowerPC/tls.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/tls.ll?rev=370427&r1=370426&r2=370427&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/tls.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/tls.ll Thu Aug 29 19:57:33 2019
@@ -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:
More information about the llvm-commits
mailing list