1 ; RUN: llc --relocation-model=pic < %s | FileCheck %s
2 ; RUN: llc --relocation-model=static < %s | FileCheck %s
4 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
5 target triple = "x86_64-unknown-linux-gnu"
7 ; Jump tables shouldn't go through the GOT.
8 define i32 @jump_table(i32 %x) #0 {
9 ; CHECK-LABEL: jump_table:
11 switch i32 %x, label %default [
29 attributes #0 = { "target-features"="+tagged-globals" }