]> granicus.if.org Git - llvm/commitdiff
Set some tests to an unknown vendor and OS
authorMatthias Braun <matze@braunis.de>
Mon, 3 Oct 2016 21:58:20 +0000 (21:58 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 3 Oct 2016 21:58:20 +0000 (21:58 +0000)
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.

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

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

index 55b323056870197e0b075c55d21db0dac2ad00e1..a752b6129fb762c44357783a03247f405d9fec23 100644 (file)
@@ -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{{$}}
index fa223d5372e178878c490df53be357e53d8c2ec1..46d95204f2e7e5f0524aaad4a6144796eeeb1afa 100644 (file)
@@ -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_@PCREL)
 ; CHECK: r{{[0-9]+}} = memw(r{{[0-9]+}}{{.*}}+{{.*}}##src@GOT)
index f4ccc6b9ee73d0385373a2f8bb8fc937cff215d7..66d7734f2cf26904cf685f6739b4d072b357ecf5 100644 (file)
@@ -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_@PCREL)
 ; CHECK-DAG: r{{[0-9]+}} = add({{pc|PC}}, ##x@PCREL)
index ad2ca716b70db8629778fd67d2d1534ec77233b6..dbd3bd7b4ba8073353281c18291d10d3415475d7 100644 (file)
@@ -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
index ca3c7fde19d41cb7616fea018325e0a08e8c054d..31c4438dda3f9fc29d01931a60e0926f581722e5 100644 (file)
@@ -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
index 8968567cb4238787b350211ea1e462b79624c563..b416f1f6a5ed93c89ec63a351d7ff0b3f3402bec 100644 (file)
@@ -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
 
index 349e381af2b7370e029ca48e5e26fbfc4b608f22..8ab7416ff3d3eee0fd84d8be5a9cf47a3a5202a3 100644 (file)
@@ -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
 
index b232c8534c5524425618542c2b8d89c191d77c81..1fdcb655c2bae0e0bc754e5ddcf1eedb909d3736 100644 (file)
@@ -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