1 ; RUN: llc < %s -mtriple=x86_64 -o - | FileCheck %s
3 define void @foo(i32 %i) {
5 switch i32 %i, label %if.end3 [
11 tail call void @bar() #0
15 tail call void @bar() #0
19 tail call void @bar() #0
23 declare dso_local void @bar()
25 attributes #0 = { nomerge }
28 ; CHECK: # %bb.0: # %entry
29 ; CHECK: # %bb.1: # %entry
30 ; CHECK: # %bb.2: # %if.then
31 ; CHECK-NEXT: callq bar
32 ; CHECK: jmp bar # TAILCALL
33 ; CHECK: .LBB0_3: # %if.then2
35 ; CHECK: .LBB0_4: # %if.end3
36 ; CHECK: jmp bar # TAILCALL