1 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu -stop-after=finalize-isel \
3 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-ibm-aix -stop-after=finalize-isel \
5 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-ibm-aix -stop-after=finalize-isel \
7 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu -stop-after=finalize-isel \
8 ; RUN: -min-jump-table-entries=4 | FileCheck %s
9 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu -stop-after=finalize-isel \
10 ; RUN: -ppc-min-jump-table-entries=4 | FileCheck %s -check-prefix=JT
13 ; JT-NEXT: kind: label-difference32
17 ; CHECK-NOT: jumpTable:
19 define signext i32 @jt(i32 signext %a, i32 signext %b) {
21 switch i32 %a, label %sw.epilog [
29 sw.bb1: ; preds = %entry
32 sw.bb2: ; preds = %entry
35 sw.bb3: ; preds = %entry
38 sw.bb4: ; preds = %entry
41 sw.epilog: ; preds = %entry
44 return: ; preds = %entry, %sw.epilog, %sw.bb4, %sw.bb3, %sw.bb2, %sw.bb1
45 %retval.0 = phi i32 [ 0, %sw.epilog ], [ 51, %sw.bb4 ], [ 49, %sw.bb3 ], [ 48, %sw.bb2 ], [ 46, %sw.bb1 ], [ 45, %entry ]