Add 'musttail' marker to call instructions
[oota-llvm.git] / test / Bitcode / tailcall.ll
1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2
3 ; Check that musttail and tail roundtrip.
4
5 declare cc8191 void @t1_callee()
6 define cc8191 void @t1() {
7 ; CHECK: tail call cc8191 void @t1_callee()
8   tail call cc8191 void @t1_callee()
9   ret void
10 }
11
12 declare cc8191 void @t2_callee()
13 define cc8191 void @t2() {
14 ; CHECK: musttail call cc8191 void @t2_callee()
15   musttail call cc8191 void @t2_callee()
16   ret void
17 }