1 ; RUN: llc < %s -relocation-model=pic | FileCheck %s
4 ; CHECK-NEXT: .cfi_adjust_cfa_offset 4
6 ; CHECK-NEXT: popl %eax
7 ; CHECK-NEXT: .cfi_adjust_cfa_offset -4
8 ; CHECK-NEXT: addl LJTI0_0(,%ecx,4), %eax
9 ; CHECK-NEXT: jmpl *%eax
12 ; CHECK-NEXT: .long LBB0_2-L0$pb
13 ; CHECK-NEXT: .long LBB0_3-L0$pb
14 ; CHECK-NEXT: .long LBB0_4-L0$pb
15 ; CHECK-NEXT: .long LBB0_5-L0$pb
18 target triple = "i686--windows-itanium"
19 define i32 @f(i64 %x) {
21 switch i64 %x, label %bb5 [
36 %y = phi i32 [ 0, %bb0 ], [ 1, %bb1 ], [ 2, %bb2 ], [ 3, %bb3 ], [ 4, %bb4 ]