source: icGREP/icgrep-devel/llvm-3.8.0.src/test/Bitcode/tailcall.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 439 bytes
Line 
1; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2; RUN: verify-uselistorder < %s
3
4; Check that musttail and tail roundtrip.
5
6declare cc1023 void @t1_callee()
7define cc1023 void @t1() {
8; CHECK: tail call cc1023 void @t1_callee()
9  tail call cc1023 void @t1_callee()
10  ret void
11}
12
13declare cc1023 void @t2_callee()
14define cc1023 void @t2() {
15; CHECK: musttail call cc1023 void @t2_callee()
16  musttail call cc1023 void @t2_callee()
17  ret void
18}
Note: See TracBrowser for help on using the repository browser.