int main() {
  if (test__fixsfti(0.0F, 0))
    return 1;
  if (test__fixsfti(0.5F, 0))
    return 1;
  if (test__fixsfti(0.99F, 0))
    return 1;
  if (test__fixsfti(1.0F, 1))
    return 1;
  if (test__fixsfti(1.5F, 1))
    return 1;
  if (test__fixsfti(1.99F, 1))
    return 1;
  if (test__fixsfti(2.0F, 2))
    return 1;
  if (test__fixsfti(2.01F, 2))
    return 1;
  if (test__fixsfti(-0.5F, 0))
    return 1;
  if (test__fixsfti(-0.99F, 0))
    return 1;
  if (test__fixsfti(-1.0F, -1))
    return 1;
  if (test__fixsfti(-1.5F, -1))
    return 1;
  if (test__fixsfti(-1.99F, -1))
    return 1;
  if (test__fixsfti(-2.0F, -2))
    return 1;
  if (test__fixsfti(-2.01F, -2))
    return 1;
  if (test__fixsfti(0x1.FFFFFEp+62F, 0x7FFFFF8000000000LL))
    return 1;
  if (test__fixsfti(0x1.FFFFFCp+62F, 0x7FFFFF0000000000LL))
    return 1;
  if (test__fixsfti(-0x1.FFFFFEp+62F,
                    make_ti(0xFFFFFFFFFFFFFFFFLL, 0x8000008000000000LL)))
    return 1;
  if (test__fixsfti(-0x1.FFFFFCp+62F,
                    make_ti(0xFFFFFFFFFFFFFFFFLL, 0x8000010000000000LL)))
    return 1;
  if (test__fixsfti(0x1.FFFFFEp+126F, make_ti(0x7FFFFF8000000000LL, 0)))
    return 1;
  if (test__fixsfti(0x1.FFFFFCp+126F, make_ti(0x7FFFFF0000000000LL, 0)))
    return 1;
  if (test__fixsfti(-0x1.FFFFFEp+126F, make_ti(0x8000008000000000LL, 0)))
    return 1;
  if (test__fixsfti(-0x1.FFFFFCp+126F, make_ti(0x8000010000000000LL, 0)))
    return 1;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
xorps  %xmm0,%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     1150 <main+0x30>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xea8(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     1176 <main+0x56>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xe8a(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     119c <main+0x7c>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xe6c(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     11c5 <main+0xa5>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xe4b(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     11ee <main+0xce>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xe2a(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     1217 <main+0xf7>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xe09(%rip),%xmm0
mov    $0x2,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     1240 <main+0x120>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xde8(%rip),%xmm0
mov    $0x2,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     1269 <main+0x149>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xdc7(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     128f <main+0x16f>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xda9(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     12b5 <main+0x195>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xd8b(%rip),%xmm0
mov    $0xffffffff,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     12de <main+0x1be>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xd6a(%rip),%xmm0
mov    $0xffffffff,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     1307 <main+0x1e7>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xd49(%rip),%xmm0
mov    $0xffffffff,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     1330 <main+0x210>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xd28(%rip),%xmm0
mov    $0xfffffffe,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     1359 <main+0x239>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xd07(%rip),%xmm0
mov    $0xfffffffe,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     1382 <main+0x262>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xce6(%rip),%xmm0
movabs $0x7fffff8000000000,%rdi
ff ff 7f
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     13b0 <main+0x290>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movsd  0xcc0(%rip),%xmm0
movabs $0x7fffff0000000000,%rdi
ff ff 7f
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     13de <main+0x2be>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
mov    $0xffffffffffffffff,%rdi
movabs $0x8000008000000000,%rsi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
movsd  0xc80(%rip),%xmm0
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     141c <main+0x2fc>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
mov    $0xffffffffffffffff,%rdi
movabs $0x8000010000000000,%rsi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
movsd  0xc4a(%rip),%xmm0
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     145a <main+0x33a>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movabs $0x7fffff8000000000,%rdi
ff ff 7f
xor    %esi,%esi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
movsd  0xc19(%rip),%xmm0
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     1493 <main+0x373>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movabs $0x7fffff0000000000,%rdi
ff ff 7f
xor    %esi,%esi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
movsd  0xbe8(%rip),%xmm0
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     14cc <main+0x3ac>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movabs $0x8000008000000000,%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
movsd  0xbb7(%rip),%xmm0
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     1505 <main+0x3e5>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movabs $0x8000010000000000,%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1040 <make_ti@plt>
mov    %eax,%edi
movsd  0xb86(%rip),%xmm0
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
cmp    $0x0,%eax
je     153e <main+0x41e>
movl   $0x1,-0x4(%rbp)
jmp    1545 <main+0x425>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
xorps  %xmm0,%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
mov    $0x1,%ebx
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xeb6(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xea5(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xe94(%rip),%xmm0
mov    $0x1,%ebx
mov    $0x1,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xe7b(%rip),%xmm0
mov    $0x1,%ebx
mov    $0x1,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xe62(%rip),%xmm0
mov    $0x1,%ebx
mov    $0x1,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xe49(%rip),%xmm0
mov    $0x2,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xe35(%rip),%xmm0
mov    $0x2,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xe21(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xe10(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xdff(%rip),%xmm0
mov    $0xffffffff,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xdeb(%rip),%xmm0
mov    $0xffffffff,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xdd7(%rip),%xmm0
mov    $0xffffffff,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xdc3(%rip),%xmm0
mov    $0xfffffffe,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movsd  0xdaf(%rip),%xmm0
mov    $0xfffffffe,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movabs $0x7fffff8000000000,%r13
ff ff 7f
movsd  0xd91(%rip),%xmm0
mov    %r13,%rdi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movabs $0x7fffff0000000000,%r12
ff ff 7f
movsd  0xd75(%rip),%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movabs $0x8000008000000000,%r14
mov    $0xffffffffffffffff,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <make_ti@plt>
movsd  0xd48(%rip),%xmm0
mov    %eax,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
movabs $0x8000010000000000,%r15
mov    $0xffffffffffffffff,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <make_ti@plt>
movsd  0xd1c(%rip),%xmm0
mov    %eax,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
mov    %r13,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <make_ti@plt>
movsd  0xcff(%rip),%xmm0
mov    %eax,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
mov    %r12,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <make_ti@plt>
movsd  0xce6(%rip),%xmm0
mov    %eax,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
mov    %r14,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <make_ti@plt>
movsd  0xccd(%rip),%xmm0
mov    %eax,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
test   %eax,%eax
jne    1404 <main+0x2e4>
mov    %r15,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <make_ti@plt>
movsd  0xcb4(%rip),%xmm0
mov    %eax,%edi
mov    $0x1,%al
call   1030 <test__fixsfti@plt>
xor    %ebx,%ebx
test   %eax,%eax
setne  %bl
mov    %ebx,%eax
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0.000000e+00, i32 0)
%3 = icmp ne i32 %2, 0
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 1, i32* %1
br label %100
5: ; preds = %0
%6 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 5.000000e-01, i32 0)
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5
store i32 1, i32* %1
br label %100
9: ; preds = %5
%10 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0x3FEFAE1480000000, i32 0)
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, i32* %1
br label %100
13: ; preds = %9
%14 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 1.000000e+00, i32 1)
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 1, i32* %1
br label %100
17: ; preds = %13
%18 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 1.500000e+00, i32 1)
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %17
store i32 1, i32* %1
br label %100
21: ; preds = %17
%22 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0x3FFFD70A40000000, i32 1)
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %21
store i32 1, i32* %1
br label %100
25: ; preds = %21
%26 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 2.000000e+00, i32 2)
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %25
store i32 1, i32* %1
br label %100
29: ; preds = %25
%30 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0x4000147AE0000000, i32 2)
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %29
store i32 1, i32* %1
br label %100
33: ; preds = %29
%34 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double -5.000000e-01, i32 0)
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %33
store i32 1, i32* %1
br label %100
37: ; preds = %33
%38 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xBFEFAE1480000000, i32 0)
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %37
store i32 1, i32* %1
br label %100
41: ; preds = %37
%42 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double -1.000000e+00, i32 -1)
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %41
store i32 1, i32* %1
br label %100
45: ; preds = %41
%46 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double -1.500000e+00, i32 -1)
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %45
store i32 1, i32* %1
br label %100
49: ; preds = %45
%50 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xBFFFD70A40000000, i32 -1)
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %49
store i32 1, i32* %1
br label %100
53: ; preds = %49
%54 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double -2.000000e+00, i32 -2)
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %53
store i32 1, i32* %1
br label %100
57: ; preds = %53
%58 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xC000147AE0000000, i32 -2)
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %57
store i32 1, i32* %1
br label %100
61: ; preds = %57
%62 = call i32 (double, i64, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i64, ...)*)(double 0x43DFFFFFE0000000, i64 9223371487098961920)
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %61
store i32 1, i32* %1
br label %100
65: ; preds = %61
%66 = call i32 (double, i64, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i64, ...)*)(double 0x43DFFFFFC0000000, i64 9223370937343148032)
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %65
store i32 1, i32* %1
br label %100
69: ; preds = %65
%70 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223371487098961920)
%71 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xC3DFFFFFE0000000, i32 %70)
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %74
73: ; preds = %69
store i32 1, i32* %1
br label %100
74: ; preds = %69
%75 = call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223370937343148032)
%76 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xC3DFFFFFC0000000, i32 %75)
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %79
78: ; preds = %74
store i32 1, i32* %1
br label %100
79: ; preds = %74
%80 = call i32 (i64, i32, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i32, ...)*)(i64 9223371487098961920, i32 0)
%81 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0x47DFFFFFE0000000, i32 %80)
%82 = icmp ne i32 %81, 0
br i1 %82, label %83, label %84
83: ; preds = %79
store i32 1, i32* %1
br label %100
84: ; preds = %79
%85 = call i32 (i64, i32, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i32, ...)*)(i64 9223370937343148032, i32 0)
%86 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0x47DFFFFFC0000000, i32 %85)
%87 = icmp ne i32 %86, 0
br i1 %87, label %88, label %89
88: ; preds = %84
store i32 1, i32* %1
br label %100
89: ; preds = %84
%90 = call i32 (i64, i32, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i32, ...)*)(i64 -9223371487098961920, i32 0)
%91 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xC7DFFFFFE0000000, i32 %90)
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %94
93: ; preds = %89
store i32 1, i32* %1
br label %100
94: ; preds = %89
%95 = call i32 (i64, i32, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i32, ...)*)(i64 -9223370937343148032, i32 0)
%96 = call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xC7DFFFFFC0000000, i32 %95)
%97 = icmp ne i32 %96, 0
br i1 %97, label %98, label %99
98: ; preds = %94
store i32 1, i32* %1
br label %100
99: ; preds = %94
store i32 0, i32* %1
br label %100
100: ; preds = %99, %98, %93, %88, %83, %78, %73, %68, %64, %60, %56, %52, %48, %44, %40, %36, %32, %28, %24, %20, %16, %12, %8, %4
%101 = load i32, i32* %1
ret i32 %101
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0.000000e+00, i32 0)
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %76
3: ; preds = %0
%4 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 5.000000e-01, i32 0)
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %76
6: ; preds = %3
%7 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0x3FEFAE1480000000, i32 0)
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %76
9: ; preds = %6
%10 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 1.000000e+00, i32 1)
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %76
12: ; preds = %9
%13 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 1.500000e+00, i32 1)
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %76
15: ; preds = %12
%16 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0x3FFFD70A40000000, i32 1)
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %76
18: ; preds = %15
%19 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 2.000000e+00, i32 2)
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %76
21: ; preds = %18
%22 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0x4000147AE0000000, i32 2)
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %76
24: ; preds = %21
%25 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double -5.000000e-01, i32 0)
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %76
27: ; preds = %24
%28 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xBFEFAE1480000000, i32 0)
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %76
30: ; preds = %27
%31 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double -1.000000e+00, i32 -1)
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %76
33: ; preds = %30
%34 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double -1.500000e+00, i32 -1)
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %76
36: ; preds = %33
%37 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xBFFFD70A40000000, i32 -1)
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %76
39: ; preds = %36
%40 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double -2.000000e+00, i32 -2)
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %76
42: ; preds = %39
%43 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xC000147AE0000000, i32 -2)
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %76
45: ; preds = %42
%46 = tail call i32 (double, i64, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i64, ...)*)(double 0x43DFFFFFE0000000, i64 9223371487098961920)
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %76
48: ; preds = %45
%49 = tail call i32 (double, i64, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i64, ...)*)(double 0x43DFFFFFC0000000, i64 9223370937343148032)
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %76
51: ; preds = %48
%52 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223371487098961920)
%53 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xC3DFFFFFE0000000, i32 %52)
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %76
55: ; preds = %51
%56 = tail call i32 (i64, i64, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i64, ...)*)(i64 -1, i64 -9223370937343148032)
%57 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xC3DFFFFFC0000000, i32 %56)
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %76
59: ; preds = %55
%60 = tail call i32 (i64, i32, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i32, ...)*)(i64 9223371487098961920, i32 0)
%61 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0x47DFFFFFE0000000, i32 %60)
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %76
63: ; preds = %59
%64 = tail call i32 (i64, i32, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i32, ...)*)(i64 9223370937343148032, i32 0)
%65 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0x47DFFFFFC0000000, i32 %64)
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %76
67: ; preds = %63
%68 = tail call i32 (i64, i32, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i32, ...)*)(i64 -9223371487098961920, i32 0)
%69 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xC7DFFFFFE0000000, i32 %68)
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %76
71: ; preds = %67
%72 = tail call i32 (i64, i32, ...) bitcast (i32 (...)* @make_ti to i32 (i64, i32, ...)*)(i64 -9223370937343148032, i32 0)
%73 = tail call i32 (double, i32, ...) bitcast (i32 (...)* @test__fixsfti to i32 (double, i32, ...)*)(double 0xC7DFFFFFC0000000, i32 %72)
%74 = icmp ne i32 %73, 0
%75 = zext i1 %74 to i32
br label %76
76: ; preds = %71, %67, %63, %59, %55, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6, %3, %0
%77 = phi i32 [ 1, %0 ], [ 1, %3 ], [ 1, %6 ], [ 1, %9 ], [ 1, %12 ], [ 1, %15 ], [ 1, %18 ], [ 1, %21 ], [ 1, %24 ], [ 1, %27 ], [ 1, %30 ], [ 1, %33 ], [ 1, %36 ], [ 1, %39 ], [ 1, %42 ], [ 1, %45 ], [ 1, %48 ], [ 1, %51 ], [ 1, %55 ], [ 1, %59 ], [ 1, %63 ], [ 1, %67 ], [ %75, %71 ]
ret i32 %77
}