mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
merge some tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157795 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e109648880
commit
e8ea60b8ba
@ -1,6 +0,0 @@
|
|||||||
; RUN: llc < %s -march=x86 -tailcallopt | grep TAILCALL
|
|
||||||
define fastcc i1 @i1test(i32, i32, i32, i32) {
|
|
||||||
entry:
|
|
||||||
%4 = tail call fastcc i1 @i1test( i32 %0, i32 %1, i32 %2, i32 %3)
|
|
||||||
ret i1 %4
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
; RUN: llc < %s -march=x86 -tailcallopt | grep TAILCALL
|
|
||||||
define fastcc void @i1test(i32, i32, i32, i32) {
|
|
||||||
entry:
|
|
||||||
tail call fastcc void @i1test( i32 %0, i32 %1, i32 %2, i32 %3)
|
|
||||||
ret void
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
; RUN: llc < %s -march=x86 -tailcallopt | grep TAILCALL | count 5
|
; RUN: llc < %s -march=x86 -tailcallopt | grep TAILCALL | count 7
|
||||||
|
|
||||||
; With -tailcallopt, CodeGen guarantees a tail call optimization
|
; With -tailcallopt, CodeGen guarantees a tail call optimization
|
||||||
; for all of these.
|
; for all of these.
|
||||||
@ -38,3 +38,15 @@ define fastcc i32 @noret() nounwind {
|
|||||||
tail call fastcc void @does_not_return()
|
tail call fastcc void @does_not_return()
|
||||||
unreachable
|
unreachable
|
||||||
}
|
}
|
||||||
|
|
||||||
|
define fastcc void @void_test(i32, i32, i32, i32) {
|
||||||
|
entry:
|
||||||
|
tail call fastcc void @void_test( i32 %0, i32 %1, i32 %2, i32 %3)
|
||||||
|
ret void
|
||||||
|
}
|
||||||
|
|
||||||
|
define fastcc i1 @i1test(i32, i32, i32, i32) {
|
||||||
|
entry:
|
||||||
|
%4 = tail call fastcc i1 @i1test( i32 %0, i32 %1, i32 %2, i32 %3)
|
||||||
|
ret i1 %4
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user