int main() {
  int x = 10;
  switch (x) {
  case 0:
    x = 1000003;
    break;
  case 1:
    x = 10;
    break;
  case 2:
    x = 320;
    break;
  case 3:
    x = 12021;
    break;
  case 4:
    x = 11983;
    break;
  case 5:
    x = 12028;
    break;
  case 6:
    x = 11985;
    break;
  case 7:
    x = 12002;
    break;
  case 8:
    x = 12019;
    break;
  case 9:
    x = 12048;
    break;
  case 10:
    x = 12082;
    break;
  case 11:
    x = 12100;
    break;
  case 12:
    x = 12106;
    break;
  case 13:
    x = 12173;
    break;
  case 14:
    x = 12235;
    break;
  case 15:
    x = 12248;
    break;
  case 16:
    x = 12333;
    break;
  default:
    break;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
movl   $0x0,-0x4(%rbp)
movl   $0xa,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %rax,-0x10(%rbp)
sub    $0x10,%rax
ja     1203 <main+0x103>
mov    -0x10(%rbp),%rax
lea    0xed2(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movl   $0xf4243,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0xa,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x140,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x2ef5,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x2ecf,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x2efc,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x2ed1,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x2ee2,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x2ef3,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x2f10,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x2f32,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x2f44,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x2f4a,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x2f8d,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x2fcb,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x2fd8,-0x8(%rbp)
jmp    1208 <main+0x108>
movl   $0x302d,-0x8(%rbp)
jmp    1208 <main+0x108>
jmp    1208 <main+0x108>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
xor    %eax,%eax
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
store i32 10, i32* %2
%3 = load i32, i32* %2
switch i32 %3, label %21 [
i32 0, label %4
i32 1, label %5
i32 2, label %6
i32 3, label %7
i32 4, label %8
i32 5, label %9
i32 6, label %10
i32 7, label %11
i32 8, label %12
i32 9, label %13
i32 10, label %14
i32 11, label %15
i32 12, label %16
i32 13, label %17
i32 14, label %18
i32 15, label %19
i32 16, label %20
]
4: ; preds = %0
store i32 1000003, i32* %2
br label %22
5: ; preds = %0
store i32 10, i32* %2
br label %22
6: ; preds = %0
store i32 320, i32* %2
br label %22
7: ; preds = %0
store i32 12021, i32* %2
br label %22
8: ; preds = %0
store i32 11983, i32* %2
br label %22
9: ; preds = %0
store i32 12028, i32* %2
br label %22
10: ; preds = %0
store i32 11985, i32* %2
br label %22
11: ; preds = %0
store i32 12002, i32* %2
br label %22
12: ; preds = %0
store i32 12019, i32* %2
br label %22
13: ; preds = %0
store i32 12048, i32* %2
br label %22
14: ; preds = %0
store i32 12082, i32* %2
br label %22
15: ; preds = %0
store i32 12100, i32* %2
br label %22
16: ; preds = %0
store i32 12106, i32* %2
br label %22
17: ; preds = %0
store i32 12173, i32* %2
br label %22
18: ; preds = %0
store i32 12235, i32* %2
br label %22
19: ; preds = %0
store i32 12248, i32* %2
br label %22
20: ; preds = %0
store i32 12333, i32* %2
br label %22
21: ; preds = %0
br label %22
22: ; preds = %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
ret i32 0
}