tailcall.ll 439 B

123456789101112131415161718
  1. ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
  2. ; RUN: verify-uselistorder < %s
  3. ; Check that musttail and tail roundtrip.
  4. declare cc8191 void @t1_callee()
  5. define cc8191 void @t1() {
  6. ; CHECK: tail call cc8191 void @t1_callee()
  7. tail call cc8191 void @t1_callee()
  8. ret void
  9. }
  10. declare cc8191 void @t2_callee()
  11. define cc8191 void @t2() {
  12. ; CHECK: musttail call cc8191 void @t2_callee()
  13. musttail call cc8191 void @t2_callee()
  14. ret void
  15. }