mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
4134d06487
Summary: This was a case of incorrect usage of hasMips64() vs isABI_N64() Reviewers: matheusalmeida, dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D3398 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206388 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
823 B
LLVM
17 lines
823 B
LLVM
;
|
|
; When the assembler is ready a .s file for it will
|
|
; be created.
|
|
|
|
; Note that EF_MIPS_CPIC is set by -mabicalls which is the default on Linux
|
|
; TODO need to support -mno-abicalls
|
|
|
|
; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 -relocation-model=static %s -o - | FileCheck -check-prefix=CHECK-STATIC %s
|
|
; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 %s -o - | FileCheck -check-prefix=CHECK-PIC %s
|
|
; RUN: llc -filetype=asm -mtriple mips64el-unknown-linux -mcpu=mips4 -relocation-model=static %s -o - | FileCheck -check-prefix=CHECK-PIC %s
|
|
; RUN: llc -filetype=asm -mtriple mips64el-unknown-linux -mcpu=mips64 -relocation-model=static %s -o - | FileCheck -check-prefix=CHECK-PIC %s
|
|
|
|
; CHECK-STATIC: .abicalls
|
|
; CHECK-STATIC-NEXT: pic0
|
|
; CHECK-PIC: .abicalls
|
|
; CHECK-PIC-NOT: pic0
|