2016-06-24 20:23:17 +08:00
|
|
|
; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 -relocation-model=static %s -o - | FileCheck -check-prefixes=ABICALLS,STATIC %s
|
|
|
|
; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 -relocation-model=pic %s -o - | FileCheck -check-prefixes=ABICALLS,PIC %s
|
2017-01-27 19:36:52 +08:00
|
|
|
; RUN: llc -filetype=asm -mtriple mips64el-unknown-linux -mcpu=mips4 -relocation-model=static %s -o - | FileCheck -check-prefixes=N64-STATIC %s
|
|
|
|
; RUN: llc -filetype=asm -mtriple mips64el-unknown-linux -mcpu=mips64 -relocation-model=static %s -o - | FileCheck -check-prefixes=N64-STATIC %s
|
|
|
|
; RUN: llc -filetype=asm -mtriple mips64el-unknown-linux -mcpu=mips4 -relocation-model=static -mattr=+sym32 %s -o - | FileCheck -check-prefixes=ABICALLS,STATIC %s
|
|
|
|
; RUN: llc -filetype=asm -mtriple mips64el-unknown-linux -mcpu=mips64 -relocation-model=static -mattr=+sym32 %s -o - | FileCheck -check-prefixes=ABICALLS,STATIC %s
|
|
|
|
; RUN: llc -filetype=asm -mtriple mips64el-unknown-linux -mcpu=mips4 -relocation-model=pic %s -o - | FileCheck -check-prefixes=ABICALLS %s
|
|
|
|
; RUN: llc -filetype=asm -mtriple mips64el-unknown-linux -mcpu=mips64 -relocation-model=pic %s -o - | FileCheck -check-prefixes=ABICALLS %s
|
|
|
|
|
2013-06-19 03:47:15 +08:00
|
|
|
|
2014-08-08 23:47:17 +08:00
|
|
|
; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 -mattr noabicalls -relocation-model=static %s -o - | FileCheck -implicit-check-not='.abicalls' -implicit-check-not='pic0' %s
|
2013-06-19 03:47:15 +08:00
|
|
|
|
2014-08-08 23:47:17 +08:00
|
|
|
; ABICALLS: .abicalls
|
2013-06-27 03:08:49 +08:00
|
|
|
|
2014-08-08 23:47:17 +08:00
|
|
|
; STATIC: pic0
|
|
|
|
; PIC-NOT: pic0
|
2017-01-27 19:36:52 +08:00
|
|
|
|
|
|
|
; N64-STATIC-NOT: .abicalls
|
|
|
|
; N64-STATIC-NOT: .pic0
|