1 ; RUN: llc -O2 --verify-machineinstrs -stop-before=livevars -ppc-min-jump-table-entries=4 \
2 ; RUN: -mtriple=powerpc64le-unknown-unknown < %s | FileCheck %s
4 define dso_local void @foo() #0 {
5 ; CHECK-LABEL: fixedStack:
6 ; CHECK-NEXT: stack: []
7 ; CHECK-NEXT: entry_values: []
8 ; CHECK-NEXT: callSites: []
9 ; CHECK-NEXT: debugValueSubstitutions: []
10 ; CHECK-NEXT: constants: []
11 ; CHECK-NEXT: machineFunctionInfo: {}
12 ; CHECK-NEXT: jumpTable:
13 ; CHECK-NEXT: kind: label-difference32
14 ; CHECK-NEXT: entries:
16 ; CHECK-NEXT: blocks: [ ]
18 ; CHECK-NEXT: bb.0.entry:
19 ; CHECK-NEXT: successors: %bb.1(0x80000000)
22 ; CHECK-NEXT: successors: %bb.2(0x80000000)
24 ; CHECK: bb.2.if.end139:
27 next11: ; preds = %entry
28 br i1 false, label %if.then12, label %if.end139
29 if.then12: ; preds = %next11
31 for.cond14: ; preds = %if.then12
32 switch i32 undef, label %sw.epilog [
46 i32 10, label %sw.bb26
47 i32 11, label %sw.bb26
48 i32 13, label %sw.bb26
49 i32 17, label %sw.bb26
50 i32 18, label %sw.bb26
51 i32 20, label %sw.bb26
52 i32 19, label %sw.bb26
53 i32 21, label %sw.bb26
54 i32 22, label %sw.bb26
55 i32 23, label %sw.bb26
56 i32 25, label %sw.bb26
57 i32 27, label %sw.bb26
58 i32 28, label %sw.bb26
59 i32 26, label %sw.bb37
60 i32 29, label %sw.bb37
61 i32 30, label %sw.bb53
64 sw.bb: ; preds = %for.cond14
66 sw.bb26: ; preds = %for.cond14
68 sw.bb37: ; preds = %for.cond14
70 sw.bb53: ; preds = %for.cond14
72 sw.epilog: ; preds = %for.cond14
74 if.end139: ; preds = %next11
77 attributes #0 = { noinline optnone }