mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-06 05:06:45 +00:00
13f5c5896d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216022 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
439 B
LLVM
19 lines
439 B
LLVM
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
; RUN: verify-uselistorder < %s
|
|
|
|
; Check that musttail and tail roundtrip.
|
|
|
|
declare cc8191 void @t1_callee()
|
|
define cc8191 void @t1() {
|
|
; CHECK: tail call cc8191 void @t1_callee()
|
|
tail call cc8191 void @t1_callee()
|
|
ret void
|
|
}
|
|
|
|
declare cc8191 void @t2_callee()
|
|
define cc8191 void @t2() {
|
|
; CHECK: musttail call cc8191 void @t2_callee()
|
|
musttail call cc8191 void @t2_callee()
|
|
ret void
|
|
}
|