forked from OSchip/llvm-project
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
This commit is contained in:
parent
730bbc6f72
commit
56049b7129
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mips -relocation-model=static < %s | FileCheck %s
|
; RUN: llc -mtriple=mips -relocation-model=static < %s | FileCheck %s
|
||||||
|
|
||||||
@.str = internal unnamed_addr constant [10 x i8] c"AAAAAAAAA\00"
|
@.str = internal unnamed_addr constant [10 x i8] c"AAAAAAAAA\00"
|
||||||
@i0 = internal unnamed_addr constant [5 x i32] [ i32 0, i32 1, i32 2, i32 3, i32 4 ]
|
@i0 = internal unnamed_addr constant [5 x i32] [ i32 0, i32 1, i32 2, i32 3, i32 4 ]
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
; RUN: llc < %s -march=mips -mcpu=mips32 -mips-ssection-threshold=8 -verify-machineinstrs \
|
; RUN: llc < %s -mtriple=mips -mcpu=mips32 -mips-ssection-threshold=8 -verify-machineinstrs \
|
||||||
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt \
|
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt \
|
||||||
; RUN: | FileCheck %s --check-prefixes=BASIC,COMMON,ADDR32
|
; RUN: | FileCheck %s --check-prefixes=BASIC,COMMON,ADDR32
|
||||||
; RUN: llc < %s -march=mips -mcpu=mips32 -mips-ssection-threshold=8 -verify-machineinstrs \
|
; RUN: llc < %s -mtriple=mips -mcpu=mips32 -mips-ssection-threshold=8 -verify-machineinstrs \
|
||||||
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt -membedded-data \
|
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt -membedded-data \
|
||||||
; RUN: | FileCheck %s --check-prefixes=EMBDATA,COMMON,ADDR32
|
; RUN: | FileCheck %s --check-prefixes=EMBDATA,COMMON,ADDR32
|
||||||
|
|
||||||
; RUN: llc < %s -march=mips64 -mcpu=mips4 -mips-ssection-threshold=8 -verify-machineinstrs \
|
; RUN: llc < %s -mtriple=mips64 -mcpu=mips4 -mips-ssection-threshold=8 -verify-machineinstrs \
|
||||||
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt -target-abi n64 \
|
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt -target-abi n64 \
|
||||||
; RUN: | FileCheck %s --check-prefixes=BASIC,COMMON,N64
|
; RUN: | FileCheck %s --check-prefixes=BASIC,COMMON,N64
|
||||||
; RUN: llc < %s -march=mips64 -mcpu=mips4 -mips-ssection-threshold=8 -verify-machineinstrs \
|
; RUN: llc < %s -mtriple=mips64 -mcpu=mips4 -mips-ssection-threshold=8 -verify-machineinstrs \
|
||||||
; RUN: -relocation-model=static -mattr=+noabicalls,+sym32 -mgpopt -target-abi n64 \
|
; RUN: -relocation-model=static -mattr=+noabicalls,+sym32 -mgpopt -target-abi n64 \
|
||||||
; RUN: | FileCheck %s --check-prefixes=BASIC,COMMON,N64
|
; RUN: | FileCheck %s --check-prefixes=BASIC,COMMON,N64
|
||||||
; RUN: llc < %s -march=mips64 -mcpu=mips4 -mips-ssection-threshold=8 -verify-machineinstrs \
|
; RUN: llc < %s -mtriple=mips64 -mcpu=mips4 -mips-ssection-threshold=8 -verify-machineinstrs \
|
||||||
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt -target-abi n32 \
|
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt -target-abi n32 \
|
||||||
; RUN: | FileCheck %s --check-prefixes=BASIC,COMMON,ADDR32
|
; RUN: | FileCheck %s --check-prefixes=BASIC,COMMON,ADDR32
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
; RUN: llc -march=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-O32
|
; RUN: llc -mtriple=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-O32
|
||||||
; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-O32
|
; RUN: llc -mtriple=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-O32
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n32 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N32
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n32 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N32
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n32 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N32
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n32 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N32
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n64 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n64 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n64 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n64 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64
|
||||||
|
|
||||||
define float @h() nounwind readnone {
|
define float @h() nounwind readnone {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
; RUN: llc < %s -march=mips -relocation-model=static | \
|
; RUN: llc < %s -mtriple=mips -relocation-model=static | \
|
||||||
; RUN: FileCheck %s -check-prefix=STATIC-O32
|
; RUN: FileCheck %s -check-prefix=STATIC-O32
|
||||||
; RUN: llc < %s -march=mips -relocation-model=pic | \
|
; RUN: llc < %s -mtriple=mips -relocation-model=pic | \
|
||||||
; RUN: FileCheck %s -check-prefix=PIC-O32
|
; RUN: FileCheck %s -check-prefix=PIC-O32
|
||||||
; RUN: llc < %s -march=mips64 -relocation-model=pic -mcpu=mips4 | \
|
; RUN: llc < %s -mtriple=mips64 -relocation-model=pic -mcpu=mips4 | \
|
||||||
; RUN: FileCheck %s -check-prefix=PIC-N64
|
; RUN: FileCheck %s -check-prefix=PIC-N64
|
||||||
; RUN: llc < %s -march=mips64 -relocation-model=static -mcpu=mips4 | \
|
; RUN: llc < %s -mtriple=mips64 -relocation-model=static -mcpu=mips4 | \
|
||||||
; RUN: FileCheck %s -check-prefix=STATIC-N64
|
; RUN: FileCheck %s -check-prefix=STATIC-N64
|
||||||
; RUN: llc < %s -march=mips64 -relocation-model=pic -mcpu=mips64 | \
|
; RUN: llc < %s -mtriple=mips64 -relocation-model=pic -mcpu=mips64 | \
|
||||||
; RUN: FileCheck %s -check-prefix=PIC-N64
|
; RUN: FileCheck %s -check-prefix=PIC-N64
|
||||||
; RUN: llc < %s -march=mips64 -relocation-model=static -mcpu=mips64 | \
|
; RUN: llc < %s -mtriple=mips64 -relocation-model=static -mcpu=mips64 | \
|
||||||
; RUN: FileCheck %s -check-prefix=STATIC-N64
|
; RUN: FileCheck %s -check-prefix=STATIC-N64
|
||||||
|
|
||||||
define i32 @main() nounwind readnone {
|
define i32 @main() nounwind readnone {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
; RUN: llc < %s -march=mipsel -mcpu=mips32 -O0 -relocation-model=pic \
|
; RUN: llc < %s -mtriple=mipsel -mcpu=mips32 -O0 -relocation-model=pic \
|
||||||
; RUN: -fast-isel-abort=3 | FileCheck %s \
|
; RUN: -fast-isel-abort=3 | FileCheck %s \
|
||||||
; RUN: -check-prefix=ALL -check-prefix=32R1
|
; RUN: -check-prefix=ALL -check-prefix=32R1
|
||||||
; RUN: llc < %s -march=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
|
; RUN: llc < %s -mtriple=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
|
||||||
; RUN: -fast-isel-abort=3 | FileCheck %s \
|
; RUN: -fast-isel-abort=3 | FileCheck %s \
|
||||||
; RUN: -check-prefix=ALL -check-prefix=32R2
|
; RUN: -check-prefix=ALL -check-prefix=32R2
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32 -O0 -relocation-model=pic \
|
; RUN: llc -mtriple=mipsel -mcpu=mips32 -O0 -relocation-model=pic \
|
||||||
; RUN: -fast-isel-abort=3 -verify-machineinstrs < %s | \
|
; RUN: -fast-isel-abort=3 -verify-machineinstrs < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R1
|
; RUN: FileCheck %s -check-prefixes=ALL,32R1
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
|
; RUN: llc -mtriple=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
|
||||||
; RUN: -fast-isel-abort=3 -verify-machineinstrs < %s | \
|
; RUN: -fast-isel-abort=3 -verify-machineinstrs < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R2
|
; RUN: FileCheck %s -check-prefixes=ALL,32R2
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
; RUN: llc < %s -march=mipsel -mcpu=mips32 -O0 -relocation-model=pic \
|
; RUN: llc < %s -mtriple=mipsel -mcpu=mips32 -O0 -relocation-model=pic \
|
||||||
; RUN: -fast-isel-abort=3 -verify-machineinstrs | FileCheck %s
|
; RUN: -fast-isel-abort=3 -verify-machineinstrs | FileCheck %s
|
||||||
; RUN: llc < %s -march=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
|
; RUN: llc < %s -mtriple=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
|
||||||
; RUN: -fast-isel-abort=3 -verify-machineinstrs | FileCheck %s
|
; RUN: -fast-isel-abort=3 -verify-machineinstrs | FileCheck %s
|
||||||
|
|
||||||
@str = private unnamed_addr constant [12 x i8] c"hello there\00", align 1
|
@str = private unnamed_addr constant [12 x i8] c"hello there\00", align 1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=16
|
; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=16
|
||||||
|
|
||||||
@i = global i32 6, align 4
|
@i = global i32 6, align 4
|
||||||
@j = global i32 12, align 4
|
@j = global i32 12, align 4
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=16
|
; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=16
|
||||||
|
|
||||||
@i = global i32 25, align 4
|
@i = global i32 25, align 4
|
||||||
@.str = private unnamed_addr constant [5 x i8] c"%i \0A\00", align 1
|
@.str = private unnamed_addr constant [5 x i8] c"%i \0A\00", align 1
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
; RUN: llc -march=mipsel -relocation-model=pic < %s \
|
; RUN: llc -mtriple=mipsel -relocation-model=pic < %s \
|
||||||
; RUN: | FileCheck %s -check-prefix=PIC-O32
|
; RUN: | FileCheck %s -check-prefix=PIC-O32
|
||||||
; RUN: llc -march=mipsel -relocation-model=static < %s \
|
; RUN: llc -mtriple=mipsel -relocation-model=static < %s \
|
||||||
; RUN: | FileCheck %s -check-prefix=STATIC-O32
|
; RUN: | FileCheck %s -check-prefix=STATIC-O32
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n32 \
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n32 \
|
||||||
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N32
|
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N32
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n32 \
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n32 \
|
||||||
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N32
|
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N32
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n64 \
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n64 \
|
||||||
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64
|
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n64 \
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n64 \
|
||||||
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64
|
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64
|
||||||
; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips32 -mattr=+mips16 \
|
; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips32 -mattr=+mips16 \
|
||||||
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-MIPS16
|
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-MIPS16
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
; RUN: llc -asm-show-inst -march=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC
|
; RUN: llc -asm-show-inst -mtriple=mipsel -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC
|
||||||
; RUN: llc -asm-show-inst -march=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC
|
; RUN: llc -asm-show-inst -mtriple=mipsel -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC
|
||||||
; RUN: llc -asm-show-inst -march=mipsel -mattr=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC16
|
; RUN: llc -asm-show-inst -mtriple=mipsel -mattr=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC16
|
||||||
; RUN: llc -asm-show-inst -march=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC16
|
; RUN: llc -asm-show-inst -mtriple=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC16
|
||||||
; RUN: llc -asm-show-inst -march=mips -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMM
|
; RUN: llc -asm-show-inst -mtriple=mips -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMM
|
||||||
; RUN: llc -asm-show-inst -march=mips -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMM
|
; RUN: llc -asm-show-inst -mtriple=mips -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMM
|
||||||
; RUN: llc -asm-show-inst -march=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMMR6
|
; RUN: llc -asm-show-inst -mtriple=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=static < %s | FileCheck %s -check-prefix=STATICMMR6
|
||||||
; RUN: llc -asm-show-inst -march=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMMR6
|
; RUN: llc -asm-show-inst -mtriple=mips -mcpu=mips32r6 -mattr=+micromips -relocation-model=pic < %s | FileCheck %s -check-prefix=PICMMR6
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
; RUN: llc -march=mipsel -O0 < %s | FileCheck %s -check-prefix=None
|
; RUN: llc -mtriple=mipsel -O0 < %s | FileCheck %s -check-prefix=None
|
||||||
; RUN: llc -march=mipsel -relocation-model=pic < %s | \
|
; RUN: llc -mtriple=mipsel -relocation-model=pic < %s | \
|
||||||
; RUN: FileCheck %s -check-prefix=Default
|
; RUN: FileCheck %s -check-prefix=Default
|
||||||
; RUN: llc -march=mipsel -O1 -relocation-model=static < %s | \
|
; RUN: llc -mtriple=mipsel -O1 -relocation-model=static < %s | \
|
||||||
; RUN: FileCheck %s -check-prefix=STATICO1
|
; RUN: FileCheck %s -check-prefix=STATICO1
|
||||||
; RUN: llc -march=mipsel -disable-mips-df-forward-search=false \
|
; RUN: llc -mtriple=mipsel -disable-mips-df-forward-search=false \
|
||||||
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=FORWARD
|
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=FORWARD
|
||||||
; RUN: llc -march=mipsel -disable-mips-df-backward-search -relocation-model=pic \
|
; RUN: llc -mtriple=mipsel -disable-mips-df-backward-search -relocation-model=pic \
|
||||||
; RUN: -enable-shrink-wrap=false \
|
; RUN: -enable-shrink-wrap=false \
|
||||||
; RUN: -disable-mips-df-succbb-search=false -disable-preheader-prot=true < %s | \
|
; RUN: -disable-mips-df-succbb-search=false -disable-preheader-prot=true < %s | \
|
||||||
; RUN: FileCheck %s -check-prefix=SUCCBB
|
; RUN: FileCheck %s -check-prefix=SUCCBB
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
|
; RUN: llc -mtriple=mips -debug-only=isel -mips-tail-calls=1 \
|
||||||
; RUN: -relocation-model=pic < %s 2>&1 | FileCheck --check-prefix=PIC %s
|
; RUN: -relocation-model=pic < %s 2>&1 | FileCheck --check-prefix=PIC %s
|
||||||
; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
|
; RUN: llc -mtriple=mips -debug-only=isel -mips-tail-calls=1 \
|
||||||
; RUN: -relocation-model=static < %s 2>&1 | FileCheck --check-prefix=STATIC %s
|
; RUN: -relocation-model=static < %s 2>&1 | FileCheck --check-prefix=STATIC %s
|
||||||
; RUN: llc -march=mips64 -debug-only=isel -mips-tail-calls=1 \
|
; RUN: llc -mtriple=mips64 -debug-only=isel -mips-tail-calls=1 \
|
||||||
; RUN: -relocation-model=pic < %s 2>&1 | FileCheck --check-prefix=PIC64 %s
|
; RUN: -relocation-model=pic < %s 2>&1 | FileCheck --check-prefix=PIC64 %s
|
||||||
; RUN: llc -march=mips64 -debug-only=isel -mips-tail-calls=1 \
|
; RUN: llc -mtriple=mips64 -debug-only=isel -mips-tail-calls=1 \
|
||||||
; RUN: -relocation-model=static < %s 2>&1 | FileCheck --check-prefix=STATIC64 %s
|
; RUN: -relocation-model=static < %s 2>&1 | FileCheck --check-prefix=STATIC64 %s
|
||||||
; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
|
; RUN: llc -mtriple=mips -debug-only=isel -mips-tail-calls=1 \
|
||||||
; RUN: -relocation-model=pic -mattr=+micromips < %s 2>&1 | FileCheck --check-prefix=PIC %s
|
; RUN: -relocation-model=pic -mattr=+micromips < %s 2>&1 | FileCheck --check-prefix=PIC %s
|
||||||
; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
|
; RUN: llc -mtriple=mips -debug-only=isel -mips-tail-calls=1 \
|
||||||
; RUN: -relocation-model=static -mattr=+micromips < %s 2>&1 | FileCheck --check-prefix=STATIC-MM %s
|
; RUN: -relocation-model=static -mattr=+micromips < %s 2>&1 | FileCheck --check-prefix=STATIC-MM %s
|
||||||
; RUN: llc -march=mips -mcpu=mips32r6 -debug-only=isel -mips-tail-calls=1 \
|
; RUN: llc -mtriple=mips -mcpu=mips32r6 -debug-only=isel -mips-tail-calls=1 \
|
||||||
; RUN: -relocation-model=pic -mattr=+micromips < %s 2>&1 | FileCheck --check-prefix=PIC %s
|
; RUN: -relocation-model=pic -mattr=+micromips < %s 2>&1 | FileCheck --check-prefix=PIC %s
|
||||||
; RUN: llc -march=mips -mcpu=mips32r6 -debug-only=isel -mips-tail-calls=1 \
|
; RUN: llc -mtriple=mips -mcpu=mips32r6 -debug-only=isel -mips-tail-calls=1 \
|
||||||
; RUN: -relocation-model=static -mattr=+micromips < %s 2>&1 | FileCheck --check-prefix=STATIC-MM %s
|
; RUN: -relocation-model=static -mattr=+micromips < %s 2>&1 | FileCheck --check-prefix=STATIC-MM %s
|
||||||
; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
|
; RUN: llc -mtriple=mips -debug-only=isel -mips-tail-calls=1 \
|
||||||
; RUN: -relocation-model=pic -mattr=+mips16 < %s 2>&1 | FileCheck --check-prefix=MIPS16 %s
|
; RUN: -relocation-model=pic -mattr=+mips16 < %s 2>&1 | FileCheck --check-prefix=MIPS16 %s
|
||||||
; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
|
; RUN: llc -mtriple=mips -debug-only=isel -mips-tail-calls=1 \
|
||||||
; RUN: -relocation-model=static -mattr=+mips16 < %s 2>&1 | FileCheck --check-prefix=MIPS16 %s
|
; RUN: -relocation-model=static -mattr=+mips16 < %s 2>&1 | FileCheck --check-prefix=MIPS16 %s
|
||||||
|
|
||||||
; REQUIRES: asserts
|
; REQUIRES: asserts
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
; RUN: llc -march=mips -relocation-model=static -mattr=+soft-float < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
; RUN: llc -mtriple=mips -relocation-model=static -mattr=+soft-float < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
||||||
; RUN: llc -march=mipsel -relocation-model=static -mattr=+soft-float < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
; RUN: llc -mtriple=mipsel -relocation-model=static -mattr=+soft-float < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
||||||
|
|
||||||
; RUN-TODO: llc -march=mips64 -relocation-model=static -mattr=+soft-float -target-abi o32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
; RUN-TODO: llc -mtriple=mips64 -relocation-model=static -mattr=+soft-float -target-abi o32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
||||||
; RUN-TODO: llc -march=mips64el -relocation-model=static -mattr=+soft-float -target-abi o32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
; RUN-TODO: llc -mtriple=mips64el -relocation-model=static -mattr=+soft-float -target-abi o32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
||||||
|
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
|
; RUN: llc -mtriple=mips64el -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
|
||||||
|
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
|
; RUN: llc -mtriple=mips64el -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
|
||||||
|
|
||||||
; Test the floating point arguments for all ABI's and byte orders as specified
|
; Test the floating point arguments for all ABI's and byte orders as specified
|
||||||
; by section 5 of MD00305 (MIPS ABIs Described).
|
; by section 5 of MD00305 (MIPS ABIs Described).
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32 %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32 %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32 %s
|
; RUN: llc -mtriple=mips64el -relocation-model=static -mattr=+soft-float -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32 %s
|
||||||
|
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64 %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64 %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64 %s
|
; RUN: llc -mtriple=mips64el -relocation-model=static -mattr=+soft-float -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64 %s
|
||||||
|
|
||||||
; Test the fp128 arguments for all ABI's and byte orders as specified
|
; Test the fp128 arguments for all ABI's and byte orders as specified
|
||||||
; by section 2 of the MIPSpro N32 Handbook.
|
; by section 2 of the MIPSpro N32 Handbook.
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
; RUN: llc -march=mips -relocation-model=static < %s \
|
; RUN: llc -mtriple=mips -relocation-model=static < %s \
|
||||||
; RUN: | FileCheck --check-prefixes=ALL,SYM32,O32,O32BE %s
|
; RUN: | FileCheck --check-prefixes=ALL,SYM32,O32,O32BE %s
|
||||||
; RUN: llc -march=mipsel -relocation-model=static < %s \
|
; RUN: llc -mtriple=mipsel -relocation-model=static < %s \
|
||||||
; RUN: | FileCheck --check-prefixes=ALL,SYM32,O32,O32LE %s
|
; RUN: | FileCheck --check-prefixes=ALL,SYM32,O32,O32LE %s
|
||||||
|
|
||||||
; RUN-TODO: llc -march=mips64 -relocation-model=static -target-abi o32 < %s \
|
; RUN-TODO: llc -mtriple=mips64 -relocation-model=static -target-abi o32 < %s \
|
||||||
; RUN-TODO: | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
; RUN-TODO: | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
||||||
; RUN-TODO: llc -march=mips64el -relocation-model=static -target-abi o32 < %s \
|
; RUN-TODO: llc -mtriple=mips64el -relocation-model=static -target-abi o32 < %s \
|
||||||
; RUN-TODO: | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
; RUN-TODO: | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
||||||
|
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -target-abi n32 < %s \
|
; RUN: llc -mtriple=mips64 -relocation-model=static -target-abi n32 < %s \
|
||||||
; RUN: | FileCheck --check-prefixes=ALL,SYM32,N32,NEW,NEWBE %s
|
; RUN: | FileCheck --check-prefixes=ALL,SYM32,N32,NEW,NEWBE %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -target-abi n32 < %s \
|
; RUN: llc -mtriple=mips64el -relocation-model=static -target-abi n32 < %s \
|
||||||
; RUN: | FileCheck --check-prefixes=ALL,SYM32,N32,NEW,NEWLE %s
|
; RUN: | FileCheck --check-prefixes=ALL,SYM32,N32,NEW,NEWLE %s
|
||||||
|
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -target-abi n64 < %s \
|
; RUN: llc -mtriple=mips64 -relocation-model=static -target-abi n64 < %s \
|
||||||
; RUN: | FileCheck --check-prefixes=ALL,SYM64,N64,NEW,NEWBE %s
|
; RUN: | FileCheck --check-prefixes=ALL,SYM64,N64,NEW,NEWBE %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -target-abi n64 < %s \
|
; RUN: llc -mtriple=mips64el -relocation-model=static -target-abi n64 < %s \
|
||||||
; RUN: | FileCheck --check-prefixes=ALL,SYM64,N64,NEW,NEWLE %s
|
; RUN: | FileCheck --check-prefixes=ALL,SYM64,N64,NEW,NEWLE %s
|
||||||
|
|
||||||
; Test the effect of varargs on floating point types in the non-variable part
|
; Test the effect of varargs on floating point types in the non-variable part
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
; RUN: llc -march=mips -relocation-model=static < %s | FileCheck --check-prefixes=ALL,SYM32,O32,O32BE %s
|
; RUN: llc -mtriple=mips -relocation-model=static < %s | FileCheck --check-prefixes=ALL,SYM32,O32,O32BE %s
|
||||||
; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck --check-prefixes=ALL,SYM32,O32,O32LE %s
|
; RUN: llc -mtriple=mipsel -relocation-model=static < %s | FileCheck --check-prefixes=ALL,SYM32,O32,O32LE %s
|
||||||
|
|
||||||
; RUN-TODO: llc -march=mips64 -relocation-model=static -target-abi o32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
; RUN-TODO: llc -mtriple=mips64 -relocation-model=static -target-abi o32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
||||||
; RUN-TODO: llc -march=mips64el -relocation-model=static -target-abi o32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
; RUN-TODO: llc -mtriple=mips64el -relocation-model=static -target-abi o32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
||||||
|
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
|
; RUN: llc -mtriple=mips64el -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
|
||||||
|
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
|
; RUN: llc -mtriple=mips64el -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
|
||||||
|
|
||||||
; Test the floating point arguments for all ABI's and byte orders as specified
|
; Test the floating point arguments for all ABI's and byte orders as specified
|
||||||
; by section 5 of MD00305 (MIPS ABIs Described).
|
; by section 5 of MD00305 (MIPS ABIs Described).
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32 %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32 %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32 %s
|
; RUN: llc -mtriple=mips64el -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32 %s
|
||||||
|
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64 %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64 %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64 %s
|
; RUN: llc -mtriple=mips64el -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64 %s
|
||||||
|
|
||||||
; Test the fp128 arguments for all ABI's and byte orders as specified
|
; Test the fp128 arguments for all ABI's and byte orders as specified
|
||||||
; by section 2 of the MIPSpro N32 Handbook.
|
; by section 2 of the MIPSpro N32 Handbook.
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
; RUN: llc -mtriple=mipsel-linux -relocation-model=static < %s \
|
; RUN: llc -mtriple=mipsel-linux -relocation-model=static < %s \
|
||||||
; RUN: | FileCheck --check-prefixes=ALL,O32 %s
|
; RUN: | FileCheck --check-prefixes=ALL,O32 %s
|
||||||
|
|
||||||
; RUN-TODO: llc -march=mips64 -relocation-model=static -target-abi o32 < %s \
|
; RUN-TODO: llc -mtriple=mips64 -relocation-model=static -target-abi o32 < %s \
|
||||||
; RUN-TODO: | FileCheck --check-prefixes=ALL,O32 %s
|
; RUN-TODO: | FileCheck --check-prefixes=ALL,O32 %s
|
||||||
; RUN-TODO: llc -march=mips64el -relocation-model=static -target-abi o32 < %s \
|
; RUN-TODO: llc -mtriple=mips64el -relocation-model=static -target-abi o32 < %s \
|
||||||
; RUN-TODO: | FileCheck --check-prefixes=ALL,O32 %s
|
; RUN-TODO: | FileCheck --check-prefixes=ALL,O32 %s
|
||||||
|
|
||||||
; RUN: llc -mtriple=mips64-linux -relocation-model=static -target-abi n32 < %s \
|
; RUN: llc -mtriple=mips64-linux -relocation-model=static -target-abi n32 < %s \
|
||||||
|
@ -13,9 +13,9 @@
|
||||||
; RUN: llc -mtriple=mips64el-linux -relocation-model=static -target-abi n32 < %s \
|
; RUN: llc -mtriple=mips64el-linux -relocation-model=static -target-abi n32 < %s \
|
||||||
; RUN: | FileCheck --check-prefixes=ALL,NEW,N32,NEW-LE %s
|
; RUN: | FileCheck --check-prefixes=ALL,NEW,N32,NEW-LE %s
|
||||||
|
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -target-abi n64 < %s \
|
; RUN: llc -mtriple=mips64 -relocation-model=static -target-abi n64 < %s \
|
||||||
; RUN: | FileCheck --check-prefixes=ALL,NEW,N64,NEW-BE %s
|
; RUN: | FileCheck --check-prefixes=ALL,NEW,N64,NEW-BE %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -target-abi n64 < %s \
|
; RUN: llc -mtriple=mips64el -relocation-model=static -target-abi n64 < %s \
|
||||||
; RUN: | FileCheck --check-prefixes=ALL,NEW,N64,NEW-LE %s
|
; RUN: | FileCheck --check-prefixes=ALL,NEW,N64,NEW-LE %s
|
||||||
|
|
||||||
@hwords = global [3 x i16] zeroinitializer, align 1
|
@hwords = global [3 x i16] zeroinitializer, align 1
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
; RUN: llc -march=mips -relocation-model=static < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
; RUN: llc -mtriple=mips -relocation-model=static < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
||||||
; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
; RUN: llc -mtriple=mipsel -relocation-model=static < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
||||||
|
|
||||||
; RUN-TODO: llc -march=mips64 -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
; RUN-TODO: llc -mtriple=mips64 -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
||||||
; RUN-TODO: llc -march=mips64el -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
; RUN-TODO: llc -mtriple=mips64el -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,O32 %s
|
||||||
|
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
|
; RUN: llc -mtriple=mips64el -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,SYM32,NEW %s
|
||||||
|
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
|
; RUN: llc -mtriple=mips64el -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,SYM64,NEW %s
|
||||||
|
|
||||||
; Test the integer arguments for all ABI's and byte orders as specified by
|
; Test the integer arguments for all ABI's and byte orders as specified by
|
||||||
; section 5 of MD00305 (MIPS ABIs Described).
|
; section 5 of MD00305 (MIPS ABIs Described).
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
|
; RUN: llc -mtriple=mips64el -relocation-model=static -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s
|
||||||
|
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s
|
||||||
; RUN: llc -march=mips64el -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s
|
; RUN: llc -mtriple=mips64el -relocation-model=static -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s
|
||||||
|
|
||||||
; Test the fp128 returns for N32/N64 and all byte orders as specified by
|
; Test the fp128 returns for N32/N64 and all byte orders as specified by
|
||||||
; section 5 of MD00305 (MIPS ABIs Described).
|
; section 5 of MD00305 (MIPS ABIs Described).
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32r6 -relocation-model=static \
|
; RUN: llc -mtriple=mipsel -mcpu=mips32r6 -relocation-model=static \
|
||||||
; RUN: -disable-mips-delay-filler < %s | FileCheck %s -check-prefix=STATIC32
|
; RUN: -disable-mips-delay-filler < %s | FileCheck %s -check-prefix=STATIC32
|
||||||
; RUN: llc -march=mipsel -mcpu=mips64r6 -relocation-model=pic -target-abi n64 \
|
; RUN: llc -mtriple=mipsel -mcpu=mips64r6 -relocation-model=pic -target-abi n64 \
|
||||||
; RUN: -disable-mips-delay-filler < %s | FileCheck %s -check-prefix=PIC
|
; RUN: -disable-mips-delay-filler < %s | FileCheck %s -check-prefix=PIC
|
||||||
|
|
||||||
; Function Attrs: nounwind
|
; Function Attrs: nounwind
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
||||||
|
|
||||||
; RUN: llc -march=mips -mcpu=mips32r2 -O0 -relocation-model=pic -mattr=+fp64 \
|
; RUN: llc -mtriple=mips -mcpu=mips32r2 -O0 -relocation-model=pic -mattr=+fp64 \
|
||||||
; RUN: -stop-before=prologepilog %s -o - | FileCheck %s
|
; RUN: -stop-before=prologepilog %s -o - | FileCheck %s
|
||||||
|
|
||||||
declare double @bar(double)
|
declare double @bar(double)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc < %s -march=mips -mcpu=mips32r2 -O2 \
|
; RUN: llc < %s -mtriple=mips -mcpu=mips32r2 -O2 \
|
||||||
; RUN: -disable-mips-df-forward-search=false \
|
; RUN: -disable-mips-df-forward-search=false \
|
||||||
; RUN: -disable-mips-df-succbb-search=false \
|
; RUN: -disable-mips-df-succbb-search=false \
|
||||||
; RUN: -relocation-model=static | FileCheck %s
|
; RUN: -relocation-model=static | FileCheck %s
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC16
|
; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC16
|
||||||
|
|
||||||
@x = common global float 0.000000e+00, align 4
|
@x = common global float 0.000000e+00, align 4
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-os16 | FileCheck %s -check-prefix=32
|
; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-os16 | FileCheck %s -check-prefix=32
|
||||||
|
|
||||||
@x = global float 1.000000e+00, align 4
|
@x = global float 1.000000e+00, align 4
|
||||||
@y = global float 2.000000e+00, align 4
|
@y = global float 2.000000e+00, align 4
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
; RUN: llc -march=mipsel \
|
; RUN: llc -mtriple=mipsel \
|
||||||
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-O32
|
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-O32
|
||||||
; RUN: llc -march=mipsel -mtriple=mipsel-linux-gnu \
|
; RUN: llc -mtriple=mipsel-linux-gnu \
|
||||||
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-O32
|
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-O32
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n32 \
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n32 \
|
||||||
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N32
|
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N32
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n32 \
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n32 \
|
||||||
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N32
|
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N32
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n64 \
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n64 \
|
||||||
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64
|
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC-N64
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -target-abi n64 \
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -target-abi n64 \
|
||||||
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64
|
; RUN: -relocation-model=static < %s | FileCheck %s -check-prefix=STATIC-N64
|
||||||
|
|
||||||
@s1 = internal unnamed_addr global i32 8, align 4
|
@s1 = internal unnamed_addr global i32 8, align 4
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc < %s -march=mips -mcpu=mips32 -mips-ssection-threshold=8 \
|
; RUN: llc < %s -mtriple=mips -mcpu=mips32 -mips-ssection-threshold=8 \
|
||||||
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt \
|
; RUN: -relocation-model=static -mattr=+noabicalls -mgpopt \
|
||||||
; RUN: | FileCheck %s
|
; RUN: | FileCheck %s
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc < %s -march=mipsel -relocation-model=static -mips-tail-calls=1 | FileCheck %s
|
; RUN: llc < %s -mtriple=mipsel -relocation-model=static -mips-tail-calls=1 | FileCheck %s
|
||||||
|
|
||||||
define void @foo0(void (i32)* nocapture %f1) nounwind {
|
define void @foo0(void (i32)* nocapture %f1) nounwind {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: not --crash llc -mcpu=mips64r6 -march=mipsel -target-abi n64 -relocation-model=static < %s 2>%t
|
; RUN: not --crash llc -mcpu=mips64r6 -mtriple=mipsel -target-abi n64 -relocation-model=static < %s 2>%t
|
||||||
; RUN: FileCheck %s < %t
|
; RUN: FileCheck %s < %t
|
||||||
|
|
||||||
; CHECK: LLVM ERROR: "interrupt" attribute is only supported for the O32 ABI on MIPS32R2+ at the present time.
|
; CHECK: LLVM ERROR: "interrupt" attribute is only supported for the O32 ABI on MIPS32R2+ at the present time.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: not --crash llc -mcpu=mips32r2 -march=mipsel -relocation-model=static < %s 2> %t
|
; RUN: not --crash llc -mcpu=mips32r2 -mtriple=mipsel -relocation-model=static < %s 2> %t
|
||||||
; RUN: FileCheck %s < %t
|
; RUN: FileCheck %s < %t
|
||||||
|
|
||||||
; CHECK: LLVM ERROR: Functions with the interrupt attribute cannot have arguments!
|
; CHECK: LLVM ERROR: Functions with the interrupt attribute cannot have arguments!
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: not --crash llc -mcpu=mips32 -march=mipsel -relocation-model=static < %s 2>%t
|
; RUN: not --crash llc -mcpu=mips32 -mtriple=mipsel -relocation-model=static < %s 2>%t
|
||||||
; RUN: FileCheck %s < %t
|
; RUN: FileCheck %s < %t
|
||||||
|
|
||||||
; CHECK: LLVM ERROR: "interrupt" attribute is not supported on pre-MIPS32R2 or MIPS16 targets.
|
; CHECK: LLVM ERROR: "interrupt" attribute is not supported on pre-MIPS32R2 or MIPS16 targets.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -mcpu=mips32r2 -march=mipsel -relocation-model=static -o - %s | FileCheck %s
|
; RUN: llc -mcpu=mips32r2 -mtriple=mipsel -relocation-model=static -o - %s | FileCheck %s
|
||||||
|
|
||||||
define void @isr_sw0() #0 {
|
define void @isr_sw0() #0 {
|
||||||
; CHECK-LABEL: isr_sw0:
|
; CHECK-LABEL: isr_sw0:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC16
|
; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC16
|
||||||
|
|
||||||
@s = global i8 115, align 1
|
@s = global i8 115, align 1
|
||||||
@c = common global i8 0, align 1
|
@c = common global i8 0, align 1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32r2 -mattr=+micromips \
|
; RUN: llc -mtriple=mipsel -mcpu=mips32r2 -mattr=+micromips \
|
||||||
; RUN: -relocation-model=static -O2 < %s | FileCheck %s
|
; RUN: -relocation-model=static -O2 < %s | FileCheck %s
|
||||||
|
|
||||||
@main.L = internal unnamed_addr constant [3 x i8*] [i8* blockaddress(@main, %L1), i8* blockaddress(@main, %L2), i8* null], align 4
|
@main.L = internal unnamed_addr constant [3 x i8*] [i8* blockaddress(@main, %L1), i8* blockaddress(@main, %L2), i8* null], align 4
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32r2 -mattr=+micromips \
|
; RUN: llc -mtriple=mipsel -mcpu=mips32r2 -mattr=+micromips \
|
||||||
; RUN: -relocation-model=static -O2 < %s | FileCheck %s
|
; RUN: -relocation-model=static -O2 < %s | FileCheck %s
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32r6 -mattr=+micromips \
|
; RUN: llc -mtriple=mipsel -mcpu=mips32r6 -mattr=+micromips \
|
||||||
; RUN: -relocation-model=static -O2 < %s | FileCheck %s -check-prefix=CHECK-MMR6
|
; RUN: -relocation-model=static -O2 < %s | FileCheck %s -check-prefix=CHECK-MMR6
|
||||||
|
|
||||||
; Function Attrs: nounwind
|
; Function Attrs: nounwind
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc %s -march=mipsel -mcpu=mips32r2 -mattr=micromips -filetype=asm \
|
; RUN: llc %s -mtriple=mipsel -mcpu=mips32r2 -mattr=micromips -filetype=asm \
|
||||||
; RUN: -relocation-model=static -o - | FileCheck %s
|
; RUN: -relocation-model=static -o - | FileCheck %s
|
||||||
|
|
||||||
define i32 @sum(i32 %a, i32 %b) nounwind uwtable {
|
define i32 @sum(i32 %a, i32 %b) nounwind uwtable {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static < %s \
|
; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=static < %s \
|
||||||
; RUN: -mattr=+micromips | FileCheck %s
|
; RUN: -mattr=+micromips | FileCheck %s
|
||||||
|
|
||||||
@a = external thread_local global i32
|
@a = external thread_local global i32
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=16
|
; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=16
|
||||||
|
|
||||||
define void @foo() #0 {
|
define void @foo() #0 {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=16
|
; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=16
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
||||||
|
|
||||||
define void @foo() #0 {
|
define void @foo() #0 {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=16
|
; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=16
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
||||||
|
|
||||||
define void @foo() #0 {
|
define void @foo() #0 {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=16
|
; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=16
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
||||||
|
|
||||||
define void @foo() #0 {
|
define void @foo() #0 {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=16
|
; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=16
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
||||||
|
|
||||||
define void @foo() #0 {
|
define void @foo() #0 {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=16
|
; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=16
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
||||||
|
|
||||||
define void @foo() #0 {
|
define void @foo() #0 {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
||||||
|
|
||||||
@x = global float 1.000000e+00, align 4
|
@x = global float 1.000000e+00, align 4
|
||||||
@y = global float 0x4007333340000000, align 4
|
@y = global float 0x4007333340000000, align 4
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-mixed-16-32 | FileCheck %s -check-prefix=32
|
||||||
|
|
||||||
define void @foo() #0 {
|
define void @foo() #0 {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RUN: llc -march=mips64 -target-abi n64 -start-before=finalize-isel \
|
# RUN: llc -mtriple=mips64 -target-abi n64 -start-before=finalize-isel \
|
||||||
# RUN: -stop-after=finalize-isel -relocation-model=static -o /dev/null %s
|
# RUN: -stop-after=finalize-isel -relocation-model=static -o /dev/null %s
|
||||||
|
|
||||||
# A simple test to show that we can parse the target specific flags: highest,
|
# A simple test to show that we can parse the target specific flags: highest,
|
||||||
|
|
|
@ -1,62 +1,62 @@
|
||||||
; Check that [sl]dc1 are normally emitted. MIPS32r2 should have [sl]dxc1 too.
|
; Check that [sl]dc1 are normally emitted. MIPS32r2 should have [sl]dxc1 too.
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=pic < %s | \
|
; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=pic < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R1-LDC1
|
; RUN: FileCheck %s -check-prefixes=ALL,32R1-LDC1
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32r2 -relocation-model=pic < %s | \
|
; RUN: llc -mtriple=mipsel -mcpu=mips32r2 -relocation-model=pic < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R2-LDXC1
|
; RUN: FileCheck %s -check-prefixes=ALL,32R2-LDXC1
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32r6 -relocation-model=pic < %s | \
|
; RUN: llc -mtriple=mipsel -mcpu=mips32r6 -relocation-model=pic < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R6-LDC1
|
; RUN: FileCheck %s -check-prefixes=ALL,32R6-LDC1
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32r3 -mattr=+micromips \
|
; RUN: llc -mtriple=mipsel -mcpu=mips32r3 -mattr=+micromips \
|
||||||
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefixes=ALL,MM
|
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefixes=ALL,MM
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32r6 -mattr=+micromips \
|
; RUN: llc -mtriple=mipsel -mcpu=mips32r6 -mattr=+micromips \
|
||||||
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefixes=ALL,MM
|
; RUN: -relocation-model=pic < %s | FileCheck %s -check-prefixes=ALL,MM
|
||||||
|
|
||||||
; Check that -mno-ldc1-sdc1 disables [sl]dc1
|
; Check that -mno-ldc1-sdc1 disables [sl]dc1
|
||||||
; RUN: llc -march=mipsel -relocation-model=pic -mno-ldc1-sdc1 \
|
; RUN: llc -mtriple=mipsel -relocation-model=pic -mno-ldc1-sdc1 \
|
||||||
; RUN: -mcpu=mips32 < %s | \
|
; RUN: -mcpu=mips32 < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R1,32R1-LE,32R1-LE-PIC
|
; RUN: FileCheck %s -check-prefixes=ALL,32R1,32R1-LE,32R1-LE-PIC
|
||||||
; RUN: llc -march=mipsel -relocation-model=pic -mno-ldc1-sdc1 \
|
; RUN: llc -mtriple=mipsel -relocation-model=pic -mno-ldc1-sdc1 \
|
||||||
; RUN: -mcpu=mips32r2 < %s | \
|
; RUN: -mcpu=mips32r2 < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R2,32R2-LE,32R2-LE-PIC
|
; RUN: FileCheck %s -check-prefixes=ALL,32R2,32R2-LE,32R2-LE-PIC
|
||||||
; RUN: llc -march=mipsel -relocation-model=pic -mno-ldc1-sdc1 \
|
; RUN: llc -mtriple=mipsel -relocation-model=pic -mno-ldc1-sdc1 \
|
||||||
; RUN: -mcpu=mips32r6 < %s | \
|
; RUN: -mcpu=mips32r6 < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R6,32R6-LE,32R6-LE-PIC
|
; RUN: FileCheck %s -check-prefixes=ALL,32R6,32R6-LE,32R6-LE-PIC
|
||||||
; RUN: llc -march=mipsel -relocation-model=pic -mno-ldc1-sdc1 -mcpu=mips32r3 \
|
; RUN: llc -mtriple=mipsel -relocation-model=pic -mno-ldc1-sdc1 -mcpu=mips32r3 \
|
||||||
; RUN: -mattr=+micromips < %s | \
|
; RUN: -mattr=+micromips < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-LE-PIC
|
; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-LE-PIC
|
||||||
; RUN: llc -march=mipsel -relocation-model=pic -mno-ldc1-sdc1 -mcpu=mips32r6 \
|
; RUN: llc -mtriple=mipsel -relocation-model=pic -mno-ldc1-sdc1 -mcpu=mips32r6 \
|
||||||
; RUN: -mattr=+micromips < %s | \
|
; RUN: -mattr=+micromips < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-LE-PIC
|
; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-LE-PIC
|
||||||
|
|
||||||
; Check again for big-endian
|
; Check again for big-endian
|
||||||
; RUN: llc -march=mips -relocation-model=pic -mno-ldc1-sdc1 \
|
; RUN: llc -mtriple=mips -relocation-model=pic -mno-ldc1-sdc1 \
|
||||||
; RUN: -mcpu=mips32 < %s | \
|
; RUN: -mcpu=mips32 < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R1,32R1-BE,32R1-BE-PIC
|
; RUN: FileCheck %s -check-prefixes=ALL,32R1,32R1-BE,32R1-BE-PIC
|
||||||
; RUN: llc -march=mips -relocation-model=pic -mno-ldc1-sdc1 \
|
; RUN: llc -mtriple=mips -relocation-model=pic -mno-ldc1-sdc1 \
|
||||||
; RUN: -mcpu=mips32r2 < %s | \
|
; RUN: -mcpu=mips32r2 < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R2,32R2-BE,32R2-BE-PIC
|
; RUN: FileCheck %s -check-prefixes=ALL,32R2,32R2-BE,32R2-BE-PIC
|
||||||
; RUN: llc -march=mips -relocation-model=pic -mno-ldc1-sdc1 \
|
; RUN: llc -mtriple=mips -relocation-model=pic -mno-ldc1-sdc1 \
|
||||||
; RUN: -mcpu=mips32r6 < %s | \
|
; RUN: -mcpu=mips32r6 < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R6,32R6-BE,32R6-BE-PIC
|
; RUN: FileCheck %s -check-prefixes=ALL,32R6,32R6-BE,32R6-BE-PIC
|
||||||
; RUN: llc -march=mips -relocation-model=pic -mno-ldc1-sdc1 -mcpu=mips32r3 \
|
; RUN: llc -mtriple=mips -relocation-model=pic -mno-ldc1-sdc1 -mcpu=mips32r3 \
|
||||||
; RUN: -mattr=+micromips < %s | \
|
; RUN: -mattr=+micromips < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-BE-PIC
|
; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-BE-PIC
|
||||||
; RUN: llc -march=mips -relocation-model=pic -mno-ldc1-sdc1 -mcpu=mips32r6 \
|
; RUN: llc -mtriple=mips -relocation-model=pic -mno-ldc1-sdc1 -mcpu=mips32r6 \
|
||||||
; RUN: -mattr=+micromips < %s | \
|
; RUN: -mattr=+micromips < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-BE-PIC
|
; RUN: FileCheck %s -check-prefixes=ALL,MM-MNO-PIC,MM-MNO-BE-PIC
|
||||||
|
|
||||||
; Check again for the static relocation model
|
; Check again for the static relocation model
|
||||||
; RUN: llc -march=mipsel -relocation-model=static -mno-ldc1-sdc1 \
|
; RUN: llc -mtriple=mipsel -relocation-model=static -mno-ldc1-sdc1 \
|
||||||
; RUN: -mcpu=mips32 < %s | \
|
; RUN: -mcpu=mips32 < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R1,32R1-LE,32R1-LE-STATIC
|
; RUN: FileCheck %s -check-prefixes=ALL,32R1,32R1-LE,32R1-LE-STATIC
|
||||||
; RUN: llc -march=mipsel -relocation-model=static -mno-ldc1-sdc1 \
|
; RUN: llc -mtriple=mipsel -relocation-model=static -mno-ldc1-sdc1 \
|
||||||
; RUN: -mcpu=mips32r2 < %s | \
|
; RUN: -mcpu=mips32r2 < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R2,32R2-LE,32R2-LE-STATIC
|
; RUN: FileCheck %s -check-prefixes=ALL,32R2,32R2-LE,32R2-LE-STATIC
|
||||||
; RUN: llc -march=mipsel -relocation-model=static -mno-ldc1-sdc1 \
|
; RUN: llc -mtriple=mipsel -relocation-model=static -mno-ldc1-sdc1 \
|
||||||
; RUN: -mcpu=mips32r6 < %s | \
|
; RUN: -mcpu=mips32r6 < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,32R6,32R6-LE,32R6-LE-STATIC
|
; RUN: FileCheck %s -check-prefixes=ALL,32R6,32R6-LE,32R6-LE-STATIC
|
||||||
; RUN: llc -march=mipsel -relocation-model=static -mcpu=mips32r3 \
|
; RUN: llc -mtriple=mipsel -relocation-model=static -mcpu=mips32r3 \
|
||||||
; RUN: -mattr=+micromips < %s | FileCheck %s -check-prefixes=ALL,MM-STATIC-PIC
|
; RUN: -mattr=+micromips < %s | FileCheck %s -check-prefixes=ALL,MM-STATIC-PIC
|
||||||
; RUN: llc -march=mipsel -relocation-model=static -mcpu=mips32r6 \
|
; RUN: llc -mtriple=mipsel -relocation-model=static -mcpu=mips32r6 \
|
||||||
; RUN: -mattr=+micromips < %s | FileCheck %s -check-prefixes=ALL,MM-STATIC-PIC
|
; RUN: -mattr=+micromips < %s | FileCheck %s -check-prefixes=ALL,MM-STATIC-PIC
|
||||||
|
|
||||||
@g0 = common global double 0.000000e+00, align 8
|
@g0 = common global double 0.000000e+00, align 8
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -mattr=+noabicalls -target-abi n32 < %s | FileCheck %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -mattr=+noabicalls -target-abi n32 < %s | FileCheck %s
|
||||||
|
|
||||||
define i32* @get_gp() {
|
define i32* @get_gp() {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mips64 -relocation-model=static -mattr=+noabicalls < %s | FileCheck %s
|
; RUN: llc -mtriple=mips64 -relocation-model=static -mattr=+noabicalls < %s | FileCheck %s
|
||||||
|
|
||||||
define i32* @get_gp() {
|
define i32* @get_gp() {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mips -relocation-model=static -mattr=+noabicalls < %s | FileCheck %s
|
; RUN: llc -mtriple=mips -relocation-model=static -mattr=+noabicalls < %s | FileCheck %s
|
||||||
|
|
||||||
define i32* @get_gp() {
|
define i32* @get_gp() {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
||||||
; RUN: llc -march=mips64 -relocation-model=static < %s \
|
; RUN: llc -mtriple=mips64 -relocation-model=static < %s \
|
||||||
; RUN: | FileCheck %s --check-prefix STATIC
|
; RUN: | FileCheck %s --check-prefix STATIC
|
||||||
; RUN: llc -march=mips64 -relocation-model=pic < %s \
|
; RUN: llc -mtriple=mips64 -relocation-model=pic < %s \
|
||||||
; RUN: | FileCheck %s --check-prefix PIC
|
; RUN: | FileCheck %s --check-prefix PIC
|
||||||
|
|
||||||
declare dso_local void @callee() noreturn nounwind
|
declare dso_local void @callee() noreturn nounwind
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static < %s | FileCheck %s
|
; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=static < %s | FileCheck %s
|
||||||
|
|
||||||
@a = external thread_local global i32
|
@a = external thread_local global i32
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck %s
|
; RUN: llc -mtriple=mipsel -relocation-model=static < %s | FileCheck %s
|
||||||
|
|
||||||
define i32 @foo(i32 %a) nounwind readnone {
|
define i32 @foo(i32 %a) nounwind readnone {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,29 +1,29 @@
|
||||||
; RUN: llc -filetype=obj -march=mipsel -relocation-model=pic -verify-machineinstrs -mips-tail-calls=1 < %s -o - \
|
; RUN: llc -filetype=obj -mtriple=mipsel -relocation-model=pic -verify-machineinstrs -mips-tail-calls=1 < %s -o - \
|
||||||
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=PIC32
|
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=PIC32
|
||||||
|
|
||||||
; RUN: llc -filetype=obj -march=mipsel -relocation-model=static -verify-machineinstrs -mips-tail-calls=1 < %s -o - \
|
; RUN: llc -filetype=obj -mtriple=mipsel -relocation-model=static -verify-machineinstrs -mips-tail-calls=1 < %s -o - \
|
||||||
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=STATIC32
|
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=STATIC32
|
||||||
|
|
||||||
; RUN: llc -filetype=obj -march=mips64el -relocation-model=pic -mcpu=mips64 -verify-machineinstrs -mips-tail-calls=1 < %s -o - \
|
; RUN: llc -filetype=obj -mtriple=mips64el -relocation-model=pic -mcpu=mips64 -verify-machineinstrs -mips-tail-calls=1 < %s -o - \
|
||||||
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=PIC64
|
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=PIC64
|
||||||
|
|
||||||
; RUN: llc -filetype=obj -march=mips64el -relocation-model=static -mcpu=mips64 -verify-machineinstrs -mips-tail-calls=1 < %s -o - \
|
; RUN: llc -filetype=obj -mtriple=mips64el -relocation-model=static -mcpu=mips64 -verify-machineinstrs -mips-tail-calls=1 < %s -o - \
|
||||||
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=STATIC64
|
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=STATIC64
|
||||||
|
|
||||||
; RUN: llc -filetype=obj -march=mipsel -relocation-model=pic -mattr=+micromips -mips-tail-calls=1 < %s -o - \
|
; RUN: llc -filetype=obj -mtriple=mipsel -relocation-model=pic -mattr=+micromips -mips-tail-calls=1 < %s -o - \
|
||||||
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=PIC32MM
|
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=PIC32MM
|
||||||
|
|
||||||
; RUN: llc -filetype=obj -march=mipsel -relocation-model=static -mattr=+micromips -mips-tail-calls=1 < %s -o - \
|
; RUN: llc -filetype=obj -mtriple=mipsel -relocation-model=static -mattr=+micromips -mips-tail-calls=1 < %s -o - \
|
||||||
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=STATIC32MM
|
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=STATIC32MM
|
||||||
|
|
||||||
; RUN: llc -filetype=obj -march=mipsel -relocation-model=pic -mcpu=mips32r6 -mips-tail-calls=1 < %s -o - \
|
; RUN: llc -filetype=obj -mtriple=mipsel -relocation-model=pic -mcpu=mips32r6 -mips-tail-calls=1 < %s -o - \
|
||||||
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=PIC32R6
|
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=PIC32R6
|
||||||
; RUN: llc -filetype=obj -march=mipsel -relocation-model=static -mcpu=mips32r6 -mips-tail-calls=1 < %s -o - \
|
; RUN: llc -filetype=obj -mtriple=mipsel -relocation-model=static -mcpu=mips32r6 -mips-tail-calls=1 < %s -o - \
|
||||||
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=STATIC32R6
|
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=STATIC32R6
|
||||||
|
|
||||||
; RUN: llc -filetype=obj -march=mips64el -relocation-model=pic -mcpu=mips64r6 -mips-tail-calls=1 < %s -o - \
|
; RUN: llc -filetype=obj -mtriple=mips64el -relocation-model=pic -mcpu=mips64r6 -mips-tail-calls=1 < %s -o - \
|
||||||
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=PIC64R6
|
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=PIC64R6
|
||||||
; RUN: llc -filetype=obj -march=mips64el -relocation-model=static -mcpu=mips64r6 -mips-tail-calls=1 < %s -o - \
|
; RUN: llc -filetype=obj -mtriple=mips64el -relocation-model=static -mcpu=mips64r6 -mips-tail-calls=1 < %s -o - \
|
||||||
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=STATIC64R6
|
; RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=STATIC64R6
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,32 +1,32 @@
|
||||||
; RUN: llc -march=mipsel -relocation-model=pic \
|
; RUN: llc -mtriple=mipsel -relocation-model=pic \
|
||||||
; RUN: -verify-machineinstrs -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,PIC32
|
; RUN: -verify-machineinstrs -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,PIC32
|
||||||
; RUN: llc -march=mipsel -relocation-model=static \
|
; RUN: llc -mtriple=mipsel -relocation-model=static \
|
||||||
; RUN: -verify-machineinstrs -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,STATIC32
|
; RUN: -verify-machineinstrs -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,STATIC32
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -relocation-model=pic \
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -relocation-model=pic \
|
||||||
; RUN: -verify-machineinstrs -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,PIC64
|
; RUN: -verify-machineinstrs -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,PIC64
|
||||||
; RUN: llc -march=mips64el -mcpu=mips64r2 -relocation-model=static \
|
; RUN: llc -mtriple=mips64el -mcpu=mips64r2 -relocation-model=static \
|
||||||
; RUN: -verify-machineinstrs -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,STATIC64
|
; RUN: -verify-machineinstrs -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,STATIC64
|
||||||
; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=pic \
|
; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=pic \
|
||||||
; RUN: -verify-machineinstrs -mips-tail-calls=1 < %s | \
|
; RUN: -verify-machineinstrs -mips-tail-calls=1 < %s | \
|
||||||
; RUN: FileCheck %s -check-prefixes=ALL,PIC16
|
; RUN: FileCheck %s -check-prefixes=ALL,PIC16
|
||||||
|
|
||||||
; RUN: llc -march=mipsel -relocation-model=pic -mattr=+micromips -verify-machineinstrs \
|
; RUN: llc -mtriple=mipsel -relocation-model=pic -mattr=+micromips -verify-machineinstrs \
|
||||||
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,PIC32MM
|
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,PIC32MM
|
||||||
; RUN: llc -march=mipsel -relocation-model=static -mattr=+micromips -verify-machineinstrs \
|
; RUN: llc -mtriple=mipsel -relocation-model=static -mattr=+micromips -verify-machineinstrs \
|
||||||
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,STATIC32
|
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,STATIC32
|
||||||
|
|
||||||
; RUN: llc -march=mipsel -relocation-model=pic -mcpu=mips32r6 -verify-machineinstrs \
|
; RUN: llc -mtriple=mipsel -relocation-model=pic -mcpu=mips32r6 -verify-machineinstrs \
|
||||||
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,PIC32R6
|
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,PIC32R6
|
||||||
; RUN: llc -march=mipsel -relocation-model=static -mcpu=mips32r2 -verify-machineinstrs \
|
; RUN: llc -mtriple=mipsel -relocation-model=static -mcpu=mips32r2 -verify-machineinstrs \
|
||||||
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,STATIC32
|
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,STATIC32
|
||||||
; RUN: llc -march=mips64el -relocation-model=pic -mcpu=mips64r2 -verify-machineinstrs \
|
; RUN: llc -mtriple=mips64el -relocation-model=pic -mcpu=mips64r2 -verify-machineinstrs \
|
||||||
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefix=PIC64
|
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefix=PIC64
|
||||||
; RUN: llc -march=mips64el -relocation-model=pic -mcpu=mips64r6 -verify-machineinstrs \
|
; RUN: llc -mtriple=mips64el -relocation-model=pic -mcpu=mips64r6 -verify-machineinstrs \
|
||||||
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefix=STATIC64
|
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefix=STATIC64
|
||||||
|
|
||||||
; RUN: llc -march=mipsel -relocation-model=pic -mcpu=mips32r6 -mattr=+micromips -verify-machineinstrs \
|
; RUN: llc -mtriple=mipsel -relocation-model=pic -mcpu=mips32r6 -mattr=+micromips -verify-machineinstrs \
|
||||||
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,PIC32MM
|
; RUN: -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,PIC32MM
|
||||||
; RUN: llc -march=mipsel -relocation-model=static -mcpu=mips32r6 -verify-machineinstrs \
|
; RUN: llc -mtriple=mipsel -relocation-model=static -mcpu=mips32r6 -verify-machineinstrs \
|
||||||
; RUN: -mattr=+micromips -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,STATIC32MMR6
|
; RUN: -mattr=+micromips -mips-tail-calls=1 < %s | FileCheck %s -check-prefixes=ALL,STATIC32MMR6
|
||||||
|
|
||||||
@g0 = common global i32 0, align 4
|
@g0 = common global i32 0, align 4
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc < %s -march=nvptx -mcpu=sm_20 -relocation-model=static | FileCheck %s --check-prefix CHK
|
; RUN: llc < %s -mtriple=nvptx -mcpu=sm_20 -relocation-model=static | FileCheck %s --check-prefix CHK
|
||||||
|
|
||||||
%MyStruct = type { i32, i32, float }
|
%MyStruct = type { i32, i32, float }
|
||||||
@Gbl = internal addrspace(3) global [1024 x %MyStruct] zeroinitializer
|
@Gbl = internal addrspace(3) global [1024 x %MyStruct] zeroinitializer
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
; RUN: llc < %s -march=sparc -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
; RUN: llc < %s -mtriple=sparc -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=medium | FileCheck --check-prefix=abs44 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=static -code-model=medium | FileCheck --check-prefix=abs44 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=large | FileCheck --check-prefix=abs64 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=static -code-model=large | FileCheck --check-prefix=abs64 %s
|
||||||
; RUN: llc < %s -march=sparc -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v8pic32 %s
|
; RUN: llc < %s -mtriple=sparc -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v8pic32 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v9pic32 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v9pic32 %s
|
||||||
|
|
||||||
;
|
;
|
||||||
; copied from test/CodeGen/Mips/blockaddr.ll and modified for SPARC
|
; copied from test/CodeGen/Mips/blockaddr.ll and modified for SPARC
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
; RUN: llc < %s -march=sparc -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
; RUN: llc < %s -mtriple=sparc -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=medium | FileCheck --check-prefix=abs44 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=static -code-model=medium | FileCheck --check-prefix=abs44 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=large | FileCheck --check-prefix=abs64 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=static -code-model=large | FileCheck --check-prefix=abs64 %s
|
||||||
; RUN: llc < %s -march=sparc -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v8pic32 %s
|
; RUN: llc < %s -mtriple=sparc -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v8pic32 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v9pic32 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v9pic32 %s
|
||||||
|
|
||||||
define float @floatCP() {
|
define float @floatCP() {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
; RUN: llc -simplifycfg-require-and-preserve-domtree=1 < %s -march=sparc -relocation-model=static | FileCheck -check-prefix=V8ABS %s
|
; RUN: llc -simplifycfg-require-and-preserve-domtree=1 < %s -mtriple=sparc -relocation-model=static | FileCheck -check-prefix=V8ABS %s
|
||||||
; RUN: llc -simplifycfg-require-and-preserve-domtree=1 < %s -march=sparc -relocation-model=pic | FileCheck -check-prefix=V8PIC %s
|
; RUN: llc -simplifycfg-require-and-preserve-domtree=1 < %s -mtriple=sparc -relocation-model=pic | FileCheck -check-prefix=V8PIC %s
|
||||||
; RUN: llc -simplifycfg-require-and-preserve-domtree=1 < %s -march=sparcv9 -relocation-model=static | FileCheck -check-prefix=V9ABS %s
|
; RUN: llc -simplifycfg-require-and-preserve-domtree=1 < %s -mtriple=sparcv9 -relocation-model=static | FileCheck -check-prefix=V9ABS %s
|
||||||
; RUN: llc -simplifycfg-require-and-preserve-domtree=1 < %s -march=sparcv9 -relocation-model=pic | FileCheck -check-prefix=V9PIC %s
|
; RUN: llc -simplifycfg-require-and-preserve-domtree=1 < %s -mtriple=sparcv9 -relocation-model=pic | FileCheck -check-prefix=V9PIC %s
|
||||||
|
|
||||||
|
|
||||||
%struct.__fundamental_type_info_pseudo = type { %struct.__type_info_pseudo }
|
%struct.__fundamental_type_info_pseudo = type { %struct.__type_info_pseudo }
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
; RUN: llc < %s -march=sparc -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
; RUN: llc < %s -mtriple=sparc -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=medium | FileCheck --check-prefix=abs44 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=static -code-model=medium | FileCheck --check-prefix=abs44 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=large | FileCheck --check-prefix=abs64 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=static -code-model=large | FileCheck --check-prefix=abs64 %s
|
||||||
; RUN: llc < %s -march=sparc -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v8pic32 %s
|
; RUN: llc < %s -mtriple=sparc -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v8pic32 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v9pic32 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v9pic32 %s
|
||||||
|
|
||||||
define void @func1() #0 {
|
define void @func1() #0 {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
; RUN: llc < %s -march=sparc -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
; RUN: llc < %s -mtriple=sparc -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=static -code-model=small | FileCheck --check-prefix=abs32 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=medium | FileCheck --check-prefix=abs44 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=static -code-model=medium | FileCheck --check-prefix=abs44 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=static -code-model=large | FileCheck --check-prefix=abs64 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=static -code-model=large | FileCheck --check-prefix=abs64 %s
|
||||||
; RUN: llc < %s -march=sparc -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v8pic32 %s
|
; RUN: llc < %s -mtriple=sparc -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v8pic32 %s
|
||||||
; RUN: llc < %s -march=sparcv9 -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v9pic32 %s
|
; RUN: llc < %s -mtriple=sparcv9 -relocation-model=pic -code-model=medium | FileCheck --check-prefix=v9pic32 %s
|
||||||
|
|
||||||
@G = external global i8
|
@G = external global i8
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
; RUN: llc < %s -march=sparcv9 -filetype=obj --relocation-model=static | llvm-readobj -r - | FileCheck %s --check-prefix=CHECK-ABS
|
; RUN: llc < %s -mtriple=sparcv9 -filetype=obj --relocation-model=static | llvm-readobj -r - | FileCheck %s --check-prefix=CHECK-ABS
|
||||||
; RUN: llc < %s -march=sparcv9 -filetype=obj --relocation-model=pic | llvm-readobj -r - | FileCheck %s --check-prefix=CHECK-PIC
|
; RUN: llc < %s -mtriple=sparcv9 -filetype=obj --relocation-model=pic | llvm-readobj -r - | FileCheck %s --check-prefix=CHECK-PIC
|
||||||
|
|
||||||
;CHECK-ABS: Relocations [
|
;CHECK-ABS: Relocations [
|
||||||
;CHECK-ABS: 0x{{[0-9,A-F]+}} R_SPARC_H44 AGlobalVar 0x0
|
;CHECK-ABS: 0x{{[0-9,A-F]+}} R_SPARC_H44 AGlobalVar 0x0
|
||||||
|
|
Loading…
Reference in New Issue