mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
test case for revision 160084: Alignment filling between Mips function units
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160177 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
23d3622e76
commit
657c7cb558
23
test/MC/Mips/multi-64bit-func.ll
Normal file
23
test/MC/Mips/multi-64bit-func.ll
Normal file
@ -0,0 +1,23 @@
|
||||
; There is no real check here. If the test doesn't
|
||||
; assert it passes.
|
||||
; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 < %s
|
||||
; Run it again without extra nop in delay slot
|
||||
; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 -enable-mips-delay-filler < %s
|
||||
|
||||
define i32 @bosco1(i32 %x) nounwind readnone {
|
||||
entry:
|
||||
%inc = add i32 %x, 1
|
||||
ret i32 %inc
|
||||
}
|
||||
|
||||
define i32 @bosco2(i32 %x) nounwind readnone {
|
||||
entry:
|
||||
%inc = add i32 %x, 1
|
||||
ret i32 %inc
|
||||
}
|
||||
|
||||
define i32 @bosco3(i32 %x) nounwind readnone {
|
||||
entry:
|
||||
%inc = add i32 %x, 1
|
||||
ret i32 %inc
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user