mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
c09856b535
We will make them delay slot forms if there is something that can be placed in the delay slot during a separate pass. Mips16 extended instructions cannot be placed in delay slots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166990 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
191 B
LLVM
14 lines
191 B
LLVM
; RUN: llc -march=mipsel -mcpu=mips16 < %s | FileCheck %s -check-prefix=16
|
|
|
|
|
|
define i32 @main() nounwind {
|
|
entry:
|
|
ret i32 0
|
|
|
|
; 16: .set mips16 # @main
|
|
|
|
|
|
; 16: jrc $ra
|
|
|
|
}
|