mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
1c3e47c07a
This also fixes the placement of the function label comment. It was being placed next to the mips16 directive instead of next to the label. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199245 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
166 B
LLVM
14 lines
166 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
|
|
|
|
|
|
; 16: jrc $ra
|
|
|
|
}
|