2014-04-25 04:14:34 +08:00
|
|
|
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
2014-08-20 05:08:27 +08:00
|
|
|
; RUN: verify-uselistorder < %s
|
2014-04-25 04:14:34 +08:00
|
|
|
|
|
|
|
; 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
|
|
|
|
}
|