1 ; RUN: llc -march=x86 < %s | FileCheck %s
3 ; FIXME: Eliminate this tail call at -O0, since musttail is a correctness
5 ; RUN: not llc -march=x86 -O0 < %s
7 declare void @t1_callee(i8*)
8 define void @t1(i32* %a) {
10 ; CHECK: jmp {{_?}}t1_callee
11 %b = bitcast i32* %a to i8*
12 musttail call void @t1_callee(i8* %b)
16 declare i8* @t2_callee()
19 ; CHECK: jmp {{_?}}t2_callee
20 %v = musttail call i8* @t2_callee()
21 %w = bitcast i8* %v to i32*