1 ; RUN: llc -mtriple x86_64-pc-win32 < %s | FileCheck %s
2 ; RUN: llc -mtriple x86_64-pc-win32 -jumptable-in-function-section < %s | FileCheck --check-prefixes=CHECK-OPT %s
4 define void @f(i32 %x) {
6 switch i32 %x, label %sw.epilog [
14 tail call void @g(i32 0, i32 4)
18 tail call void @g(i32 1, i32 5)
22 tail call void @g(i32 2, i32 6)
26 tail call void @g(i32 3, i32 7)
30 tail call void @g(i32 10, i32 8)
34 declare void @g(i32, i32)
35 ; CHECK: .section .rdata
36 ; CHECK-OPT-NOT: .section .rdata