1 # RUN: llc -start-after branch-folder -stop-after branch-folder -o /dev/null %s | FileCheck %s
2 # This test ensures that the MIR parser parses the jump table info correctly.
6 define i32 @test_jumptable(i32 %in) {
8 switch i32 %in, label %def [
35 # CHECK-NEXT: kind: label-difference32
36 # CHECK-NEXT: entries:
38 # CHECK-NEXT: blocks: [ '%bb.3.lbl1', '%bb.4.lbl2', '%bb.5.lbl3', '%bb.6.lbl4' ]
41 kind: label-difference32
44 blocks: [ '%bb.3.lbl1', '%bb.4.lbl2', '%bb.5.lbl3', '%bb.6.lbl4' ]
48 successors: [ '%bb.2.def', '%bb.1.entry' ]
51 successors: [ '%bb.3.lbl1', '%bb.4.lbl2', '%bb.5.lbl3', '%bb.6.lbl4' ]