19 lines · plain
1; RUN: llvm-as < %s | llvm-dis | FileCheck %s2; RUN: verify-uselistorder < %s3 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 void11}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 void18}19