• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1;
2; When the assembler is ready a .s file for it will
3; be created.
4
5; Note that EF_MIPS_CPIC is set by -mabicalls which is the default on Linux
6; TODO need to support -mno-abicalls
7
8; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 -relocation-model=static %s -o - | FileCheck -check-prefix=CHECK-STATIC %s
9; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 %s -o - | FileCheck -check-prefix=CHECK-PIC %s
10; RUN: llc -filetype=asm -mtriple mips64el-unknown-linux -mcpu=mips64 -relocation-model=static %s -o - | FileCheck -check-prefix=CHECK-PIC %s
11
12; CHECK-STATIC: .abicalls
13; CHECK-STATIC-NEXT: pic0
14; CHECK-PIC: .abicalls
15; CHECK-PIC-NOT: pic0
16