[llvm] r283149 - Set some tests to an unknown vendor and OS

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 14:58:20 PDT 2016


Author: matze
Date: Mon Oct  3 16:58:20 2016
New Revision: 283149

URL: http://llvm.org/viewvc/llvm-project?rev=283149&view=rev
Log:
Set some tests to an unknown vendor and OS

This avoids llc using the hosts OS/vendor as defaults and triggering
unwanted behaviour in the tests. This should deal with the buildbot
breakages on windows after r283140.

Modified:
    llvm/trunk/test/CodeGen/AMDGPU/captured-frame-index.ll
    llvm/trunk/test/CodeGen/Hexagon/pic-simple.ll
    llvm/trunk/test/CodeGen/Hexagon/pic-static.ll
    llvm/trunk/test/CodeGen/Hexagon/tls_static.ll
    llvm/trunk/test/CodeGen/Mips/tls-models.ll
    llvm/trunk/test/CodeGen/Mips/tls.ll
    llvm/trunk/test/CodeGen/Mips/tls16.ll
    llvm/trunk/test/CodeGen/Mips/tls16_2.ll

Modified: llvm/trunk/test/CodeGen/AMDGPU/captured-frame-index.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AMDGPU/captured-frame-index.ll?rev=283149&r1=283148&r2=283149&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AMDGPU/captured-frame-index.ll (original)
+++ llvm/trunk/test/CodeGen/AMDGPU/captured-frame-index.ll Mon Oct  3 16:58:20 2016
@@ -1,4 +1,4 @@
-; RUN: llc -march=amdgcn -mattr=-promote-alloca -amdgpu-sroa=0 -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
+; RUN: llc -mtriple=amdgcn-- -mattr=-promote-alloca -amdgpu-sroa=0 -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
 
 ; GCN-LABEL: {{^}}store_fi_lifetime:
 ; GCN: v_mov_b32_e32 [[FI:v[0-9]+]], 0{{$}}

Modified: llvm/trunk/test/CodeGen/Hexagon/pic-simple.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Hexagon/pic-simple.ll?rev=283149&r1=283148&r2=283149&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Hexagon/pic-simple.ll (original)
+++ llvm/trunk/test/CodeGen/Hexagon/pic-simple.ll Mon Oct  3 16:58:20 2016
@@ -1,4 +1,4 @@
-; RUN: llc -march=hexagon -mcpu=hexagonv5 -relocation-model=pic < %s | FileCheck %s
+; RUN: llc -mtriple=hexagon-- -mcpu=hexagonv5 -relocation-model=pic < %s | FileCheck %s
 
 ; CHECK: r{{[0-9]+}} = add({{pc|PC}}, ##_GLOBAL_OFFSET_TABLE_ at PCREL)
 ; CHECK: r{{[0-9]+}} = memw(r{{[0-9]+}}{{.*}}+{{.*}}##src at GOT)

Modified: llvm/trunk/test/CodeGen/Hexagon/pic-static.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Hexagon/pic-static.ll?rev=283149&r1=283148&r2=283149&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Hexagon/pic-static.ll (original)
+++ llvm/trunk/test/CodeGen/Hexagon/pic-static.ll Mon Oct  3 16:58:20 2016
@@ -1,4 +1,4 @@
-; RUN: llc -march=hexagon -mcpu=hexagonv5 -relocation-model=pic < %s | FileCheck %s
+; RUN: llc -mtriple=hexagon-- -mcpu=hexagonv5 -relocation-model=pic < %s | FileCheck %s
 
 ; CHECK-DAG: r{{[0-9]+}} = add({{pc|PC}}, ##_GLOBAL_OFFSET_TABLE_ at PCREL)
 ; CHECK-DAG: r{{[0-9]+}} = add({{pc|PC}}, ##x at PCREL)

Modified: llvm/trunk/test/CodeGen/Hexagon/tls_static.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Hexagon/tls_static.ll?rev=283149&r1=283148&r2=283149&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Hexagon/tls_static.ll (original)
+++ llvm/trunk/test/CodeGen/Hexagon/tls_static.ll Mon Oct  3 16:58:20 2016
@@ -1,4 +1,4 @@
-; RUN: llc -O0 -march=hexagon -relocation-model=static < %s | FileCheck %s
+; RUN: llc -O0 -mtriple=hexagon-- -relocation-model=static < %s | FileCheck %s
 
 @dst_le = thread_local global i32 0, align 4
 @src_le = thread_local global i32 0, align 4

Modified: llvm/trunk/test/CodeGen/Mips/tls-models.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/tls-models.ll?rev=283149&r1=283148&r2=283149&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/tls-models.ll (original)
+++ llvm/trunk/test/CodeGen/Mips/tls-models.ll Mon Oct  3 16:58:20 2016
@@ -1,5 +1,5 @@
-; RUN: llc -march=mipsel -relocation-model=pic < %s | FileCheck -check-prefix=CHECK-PIC %s
-; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck -check-prefix=CHECK-NONPIC %s
+; RUN: llc -mtriple=mipsel-- -relocation-model=pic < %s | FileCheck -check-prefix=CHECK-PIC %s
+; RUN: llc -mtriple=mipsel-- -relocation-model=static < %s | FileCheck -check-prefix=CHECK-NONPIC %s
 
 @external_gd = external thread_local global i32
 @internal_gd = internal thread_local global i32 42

Modified: llvm/trunk/test/CodeGen/Mips/tls.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/tls.ll?rev=283149&r1=283148&r2=283149&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/tls.ll (original)
+++ llvm/trunk/test/CodeGen/Mips/tls.ll Mon Oct  3 16:58:20 2016
@@ -1,8 +1,8 @@
-; RUN: llc -march=mipsel -disable-mips-delay-filler -relocation-model=pic < %s | \
+; RUN: llc -mtriple=mipsel-- -disable-mips-delay-filler -relocation-model=pic < %s | \
 ; RUN:     FileCheck %s -check-prefixes=PIC,CHECK
-; RUN: llc -march=mipsel -relocation-model=static -disable-mips-delay-filler < \
+; RUN: llc -mtriple=mipsel-- -relocation-model=static -disable-mips-delay-filler < \
 ; RUN:     %s | FileCheck %s -check-prefixes=STATIC,CHECK
-; RUN: llc -march=mipsel -relocation-model=static -disable-mips-delay-filler \
+; RUN: llc -mtriple=mipsel-- -relocation-model=static -disable-mips-delay-filler \
 ; RUN:     -mips-fix-global-base-reg=false < %s  | \
 ; RUN:     FileCheck %s -check-prefixes=STATICGP,CHECK
 

Modified: llvm/trunk/test/CodeGen/Mips/tls16.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/tls16.ll?rev=283149&r1=283148&r2=283149&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/tls16.ll (original)
+++ llvm/trunk/test/CodeGen/Mips/tls16.ll Mon Oct  3 16:58:20 2016
@@ -1,4 +1,4 @@
-; RUN: llc  -march=mipsel -mattr=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=PIC16
+; RUN: llc  -mtriple=mipsel-- -mattr=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=PIC16
 
 @a = thread_local global i32 4, align 4
 

Modified: llvm/trunk/test/CodeGen/Mips/tls16_2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/tls16_2.ll?rev=283149&r1=283148&r2=283149&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/tls16_2.ll (original)
+++ llvm/trunk/test/CodeGen/Mips/tls16_2.ll Mon Oct  3 16:58:20 2016
@@ -1,4 +1,4 @@
-; RUN: llc  -march=mipsel -mattr=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=PIC16
+; RUN: llc  -mtriple=mipsel-- -mattr=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=PIC16
 
 @f.i = internal thread_local unnamed_addr global i32 1, align 4
 




More information about the llvm-commits mailing list