mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
a3defb07a0
slot filler. Patch by Reed Kotler at Mips Technologies. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140825 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
283 B
LLVM
16 lines
283 B
LLVM
; RUN: llc -march=mipsel -enable-mips-delay-filler < %s | FileCheck %s
|
|
|
|
define void @foo1() nounwind {
|
|
entry:
|
|
; CHECK: jalr
|
|
; CHECK-NOT: nop
|
|
; CHECK: jr
|
|
; CHECK-NOT: nop
|
|
; CHECK: .end
|
|
|
|
tail call void @foo2(i32 3) nounwind
|
|
ret void
|
|
}
|
|
|
|
declare void @foo2(i32)
|