view test/Bitcode/tailcall.ll @ 107:a03ddd01be7e

resolve warnings
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sun, 31 Jan 2016 17:34:49 +0900
parents 7d135dc70f03
children
line wrap: on
line source

; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder < %s

; Check that musttail and tail roundtrip.

declare cc1023 void @t1_callee()
define cc1023 void @t1() {
; CHECK: tail call cc1023 void @t1_callee()
  tail call cc1023 void @t1_callee()
  ret void
}

declare cc1023 void @t2_callee()
define cc1023 void @t2() {
; CHECK: musttail call cc1023 void @t2_callee()
  musttail call cc1023 void @t2_callee()
  ret void
}