1 ; RUN: llc < %s -mtriple=thumbv7-linux-gnueabihf -O1 %s -o - | FileCheck %s
3 ; CHECK-LABEL: test_jump_table:
7 define i32 @test_jump_table(i32 %x, float %in) {
11 %b0 = fadd float %in, 1234.5
12 %b1 = fptoui float %b0 to i32
14 switch i32 %x, label %h2 [
26 %d2 = phi i32 [%b1, %h1], [%a0, %h2]
31 %c2 = phi i32 [%b1, %h1], [%d3, %h3]
36 %a2 = phi i32 [%b1, %h1], [%c3, %h4]
41 %y = phi i32 [0, %h1], [%a3, %h5]
42 call i32 @llvm.arm.space(i32 2000, i32 undef)
47 declare i32 @llvm.arm.space(i32, i32)