mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-27 15:29:51 +00:00
the floating point register mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194423 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
377 B
LLVM
14 lines
377 B
LLVM
; RUN: llc -march=mipsel < %s | FileCheck %s -check-prefix=32
|
|
; RUN: llc -march=mipsel -mattr=+fp64 < %s | FileCheck %s -check-prefix=32
|
|
; RUN: llc -march=mips64el -mcpu=mips64 < %s | FileCheck %s -check-prefix=64
|
|
|
|
; 32: addiu $sp, $sp, -8
|
|
; 64: addiu $sp, $sp, -16
|
|
|
|
define i32 @foo1() #0 {
|
|
entry:
|
|
ret i32 14
|
|
}
|
|
|
|
attributes #0 = { "no-frame-pointer-elim"="true" }
|