1 ; RUN: llc -mtriple x86_64-apple-darwin -filetype=obj -O0 %s -o %t.o
2 ; RUN: llvm-objdump -macho -disassemble -no-show-raw-insn %t.o | FileCheck %s
4 ; CHECK: .long {{[0-9]+}} @ KIND_JUMP_TABLE32
5 ; CHECK: .long {{[0-9]+}} @ KIND_JUMP_TABLE32
6 ; CHECK: .long {{[0-9]+}} @ KIND_JUMP_TABLE32
7 ; CHECK: .long {{[0-9]+}} @ KIND_JUMP_TABLE32
8 ; CHECK-NOT: invalid instruction encoding
12 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
13 target triple = "x86_64-apple-macosx10.12.0"
15 ; Function Attrs: noinline nounwind optnone ssp uwtable
16 define void @switchfunc(i32 %i) {
17 switch i32 %i, label %out [