Skip to content

Commit 56049b7

Browse files
committed
Fix tests defaulting to incorrect triples on AIX
The tests only specify -march, so when the tests are run on AIX the target OS defaults to AIX, which causes the tests to misbehave. This patch constrains the tests by specifying -mtriple instead of -march. Reviewed By: daltenty, jsji, MaskRay Differential Revision: https://reviews.llvm.org/D110186
1 parent 730bbc6 commit 56049b7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+222
-222
lines changed

llvm/test/CodeGen/Mips/2008-07-15-InternalConstant.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -march=mips -relocation-model=static < %s | FileCheck %s
1+
; RUN: llc -mtriple=mips -relocation-model=static < %s | FileCheck %s
22

33
@.str = internal unnamed_addr constant [10 x i8] c"AAAAAAAAA\00"
44
@i0 = internal unnamed_addr constant [5 x i32] [ i32 0, i32 1, i32 2, i32 3, i32 4 ]

llvm/test/CodeGen/Mips/2008-07-15-SmallSection.ll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
; RUN: llc < %s -march=mips -mcpu=mips32 -mips-ssection-threshold=8 -verify-machineinstrs \
1+
; RUN: llc < %s -mtriple=mips -mcpu=mips32 -mips-ssection-threshold=8 -verify-machineinstrs \
22
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt \
33
; RUN: | FileCheck %s --check-prefixes=BASIC,COMMON,ADDR32
4-
; RUN: llc < %s -march=mips -mcpu=mips32 -mips-ssection-threshold=8 -verify-machineinstrs \
4+
; RUN: llc < %s -mtriple=mips -mcpu=mips32 -mips-ssection-threshold=8 -verify-machineinstrs \
55
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt -membedded-data \
66
; RUN: | FileCheck %s --check-prefixes=EMBDATA,COMMON,ADDR32
77

8-
; RUN: llc < %s -march=mips64 -mcpu=mips4 -mips-ssection-threshold=8 -verify-machineinstrs \
8+
; RUN: llc < %s -mtriple=mips64 -mcpu=mips4 -mips-ssection-threshold=8 -verify-machineinstrs \
99
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt -target-abi n64 \
1010
; RUN: | FileCheck %s --check-prefixes=BASIC,COMMON,N64
11-
; RUN: llc < %s -march=mips64 -mcpu=mips4 -mips-ssection-threshold=8 -verify-machineinstrs \
11+
; RUN: llc < %s -mtriple=mips64 -mcpu=mips4 -mips-ssection-threshold=8 -verify-machineinstrs \
1212
; RUN: -relocation-model=static -mattr=+noabicalls,+sym32 -mgpopt -target-abi n64 \
1313
; RUN: | FileCheck %s --check-prefixes=BASIC,COMMON,N64
14-
; RUN: llc < %s -march=mips64 -mcpu=mips4 -mips-ssection-threshold=8 -verify-machineinstrs \
14+
; RUN: llc < %s -mtriple=mips64 -mcpu=mips4 -mips-ssection-threshold=8 -verify-machineinstrs \
1515
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt -target-abi n32 \
1616
; RUN: | FileCheck %s --check-prefixes=BASIC,COMMON,ADDR32
1717

llvm/test/CodeGen/Mips/2009-11-16-CstPoolLoad.ll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
; RUN: llc -march=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-O32
2-
; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-O32
3-
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n32 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N32
4-
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n32 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N32
5-
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n64 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64
6-
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n64 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64
1+
; RUN: llc -mtriple=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-O32
2+
; RUN: llc -mtriple=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-O32
3+
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n32 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N32
4+
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n32 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N32
5+
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n64 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64
6+
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n64 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64
77

88
define float @h() nounwind readnone {
99
entry:

llvm/test/CodeGen/Mips/2010-07-20-Switch.ll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
; RUN: llc < %s -march=mips -relocation-model=static | \
1+
; RUN: llc < %s -mtriple=mips -relocation-model=static | \
22
; RUN: FileCheck %s -check-prefix=STATIC-O32
3-
; RUN: llc < %s -march=mips -relocation-model=pic | \
3+
; RUN: llc < %s -mtriple=mips -relocation-model=pic | \
44
; RUN: FileCheck %s -check-prefix=PIC-O32
5-
; RUN: llc < %s -march=mips64 -relocation-model=pic -mcpu=mips4 | \
5+
; RUN: llc < %s -mtriple=mips64 -relocation-model=pic -mcpu=mips4 | \
66
; RUN: FileCheck %s -check-prefix=PIC-N64
7-
; RUN: llc < %s -march=mips64 -relocation-model=static -mcpu=mips4 | \
7+
; RUN: llc < %s -mtriple=mips64 -relocation-model=static -mcpu=mips4 | \
88
; RUN: FileCheck %s -check-prefix=STATIC-N64
9-
; RUN: llc < %s -march=mips64 -relocation-model=pic -mcpu=mips64 | \
9+
; RUN: llc < %s -mtriple=mips64 -relocation-model=pic -mcpu=mips64 | \
1010
; RUN: FileCheck %s -check-prefix=PIC-N64
11-
; RUN: llc < %s -march=mips64 -relocation-model=static -mcpu=mips64 | \
11+
; RUN: llc < %s -mtriple=mips64 -relocation-model=static -mcpu=mips64 | \
1212
; RUN: FileCheck %s -check-prefix=STATIC-N64
1313

1414
define i32 @main() nounwind readnone {

llvm/test/CodeGen/Mips/Fast-ISel/bswap1.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
; RUN: llc < %s -march=mipsel -mcpu=mips32 -O0 -relocation-model=pic \
1+
; RUN: llc < %s -mtriple=mipsel -mcpu=mips32 -O0 -relocation-model=pic \
22
; RUN: -fast-isel-abort=3 | FileCheck %s \
33
; RUN: -check-prefix=ALL -check-prefix=32R1
4-
; RUN: llc < %s -march=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
4+
; RUN: llc < %s -mtriple=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
55
; RUN: -fast-isel-abort=3 | FileCheck %s \
66
; RUN: -check-prefix=ALL -check-prefix=32R2
77

llvm/test/CodeGen/Mips/Fast-ISel/callabi.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
; RUN: llc -march=mipsel -mcpu=mips32 -O0 -relocation-model=pic \
1+
; RUN: llc -mtriple=mipsel -mcpu=mips32 -O0 -relocation-model=pic \
22
; RUN: -fast-isel-abort=3 -verify-machineinstrs < %s | \
33
; RUN: FileCheck %s -check-prefixes=ALL,32R1
4-
; RUN: llc -march=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
4+
; RUN: llc -mtriple=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
55
; RUN: -fast-isel-abort=3 -verify-machineinstrs < %s | \
66
; RUN: FileCheck %s -check-prefixes=ALL,32R2
77

llvm/test/CodeGen/Mips/Fast-ISel/memtest1.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
; RUN: llc < %s -march=mipsel -mcpu=mips32 -O0 -relocation-model=pic \
1+
; RUN: llc < %s -mtriple=mipsel -mcpu=mips32 -O0 -relocation-model=pic \
22
; RUN: -fast-isel-abort=3 -verify-machineinstrs | FileCheck %s
3-
; RUN: llc < %s -march=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
3+
; RUN: llc < %s -mtriple=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
44
; RUN: -fast-isel-abort=3 -verify-machineinstrs | FileCheck %s
55

66
@str = private unnamed_addr constant [12 x i8] c"hello there\00", align 1

llvm/test/CodeGen/Mips/addi.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=16
1+
; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=16
22

33
@i = global i32 6, align 4
44
@j = global i32 12, align 4

llvm/test/CodeGen/Mips/align16.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=16
1+
; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=16
22

33
@i = global i32 25, align 4
44
@.str = private unnamed_addr constant [5 x i8] c"%i \0A\00", align 1

llvm/test/CodeGen/Mips/blockaddr.ll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
; RUN: llc -march=mipsel -relocation-model=pic < %s \
1+
; RUN: llc -mtriple=mipsel -relocation-model=pic < %s \
22
; RUN: | FileCheck %s -check-prefix=PIC-O32
3-
; RUN: llc -march=mipsel -relocation-model=static < %s \
3+
; RUN: llc -mtriple=mipsel -relocation-model=static < %s \
44
; RUN: | FileCheck %s -check-prefix=STATIC-O32
5-
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n32 \
5+
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n32 \
66
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N32
7-
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n32 \
7+
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n32 \
88
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N32
9-
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n64 \
9+
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n64 \
1010
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64
11-
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n64 \
11+
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n64 \
1212
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64
1313
; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips32 -mattr=+mips16 \
1414
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-MIPS16

llvm/test/CodeGen/Mips/br-jmp.ll

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
; RUN: llc -asm-show-inst -march=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC
2-
; RUN: llc -asm-show-inst -march=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC
3-
; RUN: llc -asm-show-inst -march=mipsel -mattr=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC16
4-
; RUN: llc -asm-show-inst -march=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC16
5-
; RUN: llc -asm-show-inst -march=mips -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMM
6-
; RUN: llc -asm-show-inst -march=mips -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMM
7-
; RUN: llc -asm-show-inst -march=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMMR6
8-
; RUN: llc -asm-show-inst -march=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMMR6
1+
; RUN: llc -asm-show-inst -mtriple=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC
2+
; RUN: llc -asm-show-inst -mtriple=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC
3+
; RUN: llc -asm-show-inst -mtriple=mipsel -mattr=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC16
4+
; RUN: llc -asm-show-inst -mtriple=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC16
5+
; RUN: llc -asm-show-inst -mtriple=mips -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMM
6+
; RUN: llc -asm-show-inst -mtriple=mips -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMM
7+
; RUN: llc -asm-show-inst -mtriple=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMMR6
8+
; RUN: llc -asm-show-inst -mtriple=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMMR6
99

1010

1111

llvm/test/CodeGen/Mips/brdelayslot.ll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
; RUN: llc -march=mipsel -O0 < %s | FileCheck %s -check-prefix=None
2-
; RUN: llc -march=mipsel -relocation-model=pic < %s | \
1+
; RUN: llc -mtriple=mipsel -O0 < %s | FileCheck %s -check-prefix=None
2+
; RUN: llc -mtriple=mipsel -relocation-model=pic < %s | \
33
; RUN: FileCheck %s -check-prefix=Default
4-
; RUN: llc -march=mipsel -O1 -relocation-model=static < %s | \
4+
; RUN: llc -mtriple=mipsel -O1 -relocation-model=static < %s | \
55
; RUN: FileCheck %s -check-prefix=STATICO1
6-
; RUN: llc -march=mipsel -disable-mips-df-forward-search=false \
6+
; RUN: llc -mtriple=mipsel -disable-mips-df-forward-search=false \
77
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=FORWARD
8-
; RUN: llc -march=mipsel -disable-mips-df-backward-search -relocation-model=pic \
8+
; RUN: llc -mtriple=mipsel -disable-mips-df-backward-search -relocation-model=pic \
99
; RUN: -enable-shrink-wrap=false \
1010
; RUN: -disable-mips-df-succbb-search=false -disable-preheader-prot=true < %s | \
1111
; RUN: FileCheck %s -check-prefix=SUCCBB

llvm/test/CodeGen/Mips/brind-tailcall.ll

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
1+
; RUN: llc -mtriple=mips -debug-only=isel -mips-tail-calls=1 \
22
; RUN: -relocation-model=pic < %s 2>&1 | FileCheck --check-prefix=PIC %s
3-
; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
3+
; RUN: llc -mtriple=mips -debug-only=isel -mips-tail-calls=1 \
44
; RUN: -relocation-model=static < %s 2>&1 | FileCheck --check-prefix=STATIC %s
5-
; RUN: llc -march=mips64 -debug-only=isel -mips-tail-calls=1 \
5+
; RUN: llc -mtriple=mips64 -debug-only=isel -mips-tail-calls=1 \
66
; RUN: -relocation-model=pic < %s 2>&1 | FileCheck --check-prefix=PIC64 %s
7-
; RUN: llc -march=mips64 -debug-only=isel -mips-tail-calls=1 \
7+
; RUN: llc -mtriple=mips64 -debug-only=isel -mips-tail-calls=1 \
88
; RUN: -relocation-model=static < %s 2>&1 | FileCheck --check-prefix=STATIC64 %s
9-
; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
9+
; RUN: llc -mtriple=mips -debug-only=isel -mips-tail-calls=1 \
1010
; RUN: -relocation-model=pic -mattr=+micromips < %s 2>&1 | FileCheck --check-prefix=PIC %s
11-
; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
11+
; RUN: llc -mtriple=mips -debug-only=isel -mips-tail-calls=1 \
1212
; RUN: -relocation-model=static -mattr=+micromips < %s 2>&1 | FileCheck --check-prefix=STATIC-MM %s
13-
; RUN: llc -march=mips -mcpu=mips32r6 -debug-only=isel -mips-tail-calls=1 \
13+
; RUN: llc -mtriple=mips -mcpu=mips32r6 -debug-only=isel -mips-tail-calls=1 \
1414
; RUN: -relocation-model=pic -mattr=+micromips < %s 2>&1 | FileCheck --check-prefix=PIC %s
15-
; RUN: llc -march=mips -mcpu=mips32r6 -debug-only=isel -mips-tail-calls=1 \
15+
; RUN: llc -mtriple=mips -mcpu=mips32r6 -debug-only=isel -mips-tail-calls=1 \
1616
; RUN: -relocation-model=static -mattr=+micromips < %s 2>&1 | FileCheck --check-prefix=STATIC-MM %s
17-
; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
17+
; RUN: llc -mtriple=mips -debug-only=isel -mips-tail-calls=1 \
1818
; RUN: -relocation-model=pic -mattr=+mips16 < %s 2>&1 | FileCheck --check-prefix=MIPS16 %s
19-
; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
19+
; RUN: llc -mtriple=mips -debug-only=isel -mips-tail-calls=1 \
2020
; RUN: -relocation-model=static -mattr=+mips16 < %s 2>&1 | FileCheck --check-prefix=MIPS16 %s
2121

2222
; REQUIRES: asserts

llvm/test/CodeGen/Mips/cconv/arguments-float.ll

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
; RUN: llc -march=mips -relocation-model=static -mattr=+soft-float < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
2-
; RUN: llc -march=mipsel -relocation-model=static -mattr=+soft-float < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
1+
; RUN: llc -mtriple=mips -relocation-model=static -mattr=+soft-float < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
2+
; RUN: llc -mtriple=mipsel -relocation-model=static -mattr=+soft-float < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
33

4-
; RUN-TODO: llc -march=mips64 -relocation-model=static -mattr=+soft-float -target-abi o32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
5-
; RUN-TODO: llc -march=mips64el -relocation-model=static -mattr=+soft-float -target-abi o32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
4+
; RUN-TODO: llc -mtriple=mips64 -relocation-model=static -mattr=+soft-float -target-abi o32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
5+
; RUN-TODO: llc -mtriple=mips64el -relocation-model=static -mattr=+soft-float -target-abi o32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
66

7-
; RUN: llc -march=mips64 -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
8-
; RUN: llc -march=mips64el -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
7+
; RUN: llc -mtriple=mips64 -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
8+
; RUN: llc -mtriple=mips64el -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
99

10-
; RUN: llc -march=mips64 -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
11-
; RUN: llc -march=mips64el -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
10+
; RUN: llc -mtriple=mips64 -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
11+
; RUN: llc -mtriple=mips64el -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
1212

1313
; Test the floating point arguments for all ABI's and byte orders as specified
1414
; by section 5 of MD00305 (MIPS ABIs Described).

llvm/test/CodeGen/Mips/cconv/arguments-fp128.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
; RUN: llc -march=mips64 -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32 %s
2-
; RUN: llc -march=mips64el -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32 %s
1+
; RUN: llc -mtriple=mips64 -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32 %s
2+
; RUN: llc -mtriple=mips64el -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32 %s
33

4-
; RUN: llc -march=mips64 -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64 %s
5-
; RUN: llc -march=mips64el -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64 %s
4+
; RUN: llc -mtriple=mips64 -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64 %s
5+
; RUN: llc -mtriple=mips64el -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64 %s
66

77
; Test the fp128 arguments for all ABI's and byte orders as specified
88
; by section 2 of the MIPSpro N32 Handbook.

llvm/test/CodeGen/Mips/cconv/arguments-hard-float-varargs.ll

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
; RUN: llc -march=mips -relocation-model=static < %s \
1+
; RUN: llc -mtriple=mips -relocation-model=static < %s \
22
; RUN: | FileCheck --check-prefixes=ALL,SYM32,O32,O32BE %s
3-
; RUN: llc -march=mipsel -relocation-model=static < %s \
3+
; RUN: llc -mtriple=mipsel -relocation-model=static < %s \
44
; RUN: | FileCheck --check-prefixes=ALL,SYM32,O32,O32LE %s
55

6-
; RUN-TODO: llc -march=mips64 -relocation-model=static -target-abi o32 < %s \
6+
; RUN-TODO: llc -mtriple=mips64 -relocation-model=static -target-abi o32 < %s \
77
; RUN-TODO: | FileCheck --check-prefixes=ALL,SYM32,O32 %s
8-
; RUN-TODO: llc -march=mips64el -relocation-model=static -target-abi o32 < %s \
8+
; RUN-TODO: llc -mtriple=mips64el -relocation-model=static -target-abi o32 < %s \
99
; RUN-TODO: | FileCheck --check-prefixes=ALL,SYM32,O32 %s
1010

11-
; RUN: llc -march=mips64 -relocation-model=static -target-abi n32 < %s \
11+
; RUN: llc -mtriple=mips64 -relocation-model=static -target-abi n32 < %s \
1212
; RUN: | FileCheck --check-prefixes=ALL,SYM32,N32,NEW,NEWBE %s
13-
; RUN: llc -march=mips64el -relocation-model=static -target-abi n32 < %s \
13+
; RUN: llc -mtriple=mips64el -relocation-model=static -target-abi n32 < %s \
1414
; RUN: | FileCheck --check-prefixes=ALL,SYM32,N32,NEW,NEWLE %s
1515

16-
; RUN: llc -march=mips64 -relocation-model=static -target-abi n64 < %s \
16+
; RUN: llc -mtriple=mips64 -relocation-model=static -target-abi n64 < %s \
1717
; RUN: | FileCheck --check-prefixes=ALL,SYM64,N64,NEW,NEWBE %s
18-
; RUN: llc -march=mips64el -relocation-model=static -target-abi n64 < %s \
18+
; RUN: llc -mtriple=mips64el -relocation-model=static -target-abi n64 < %s \
1919
; RUN: | FileCheck --check-prefixes=ALL,SYM64,N64,NEW,NEWLE %s
2020

2121
; Test the effect of varargs on floating point types in the non-variable part

0 commit comments

Comments
 (0)