#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
scalar_t__ test__muldi3(long long, long long, long long);
int main() {
  if (test__muldi3(0, 0, 0))
    return 1;
  if (test__muldi3(0, 1, 0))
    return 1;
  if (test__muldi3(1, 0, 0))
    return 1;
  if (test__muldi3(0, 10, 0))
    return 1;
  if (test__muldi3(10, 0, 0))
    return 1;
  if (test__muldi3(0, 81985529216486895LL, 0))
    return 1;
  if (test__muldi3(81985529216486895LL, 0, 0))
    return 1;
  if (test__muldi3(0, -1, 0))
    return 1;
  if (test__muldi3(-1, 0, 0))
    return 1;
  if (test__muldi3(0, -10, 0))
    return 1;
  if (test__muldi3(-10, 0, 0))
    return 1;
  if (test__muldi3(0, -81985529216486895LL, 0))
    return 1;
  if (test__muldi3(-81985529216486895LL, 0, 0))
    return 1;
  if (test__muldi3(1, 1, 1))
    return 1;
  if (test__muldi3(1, 10, 10))
    return 1;
  if (test__muldi3(10, 1, 10))
    return 1;
  if (test__muldi3(1, 81985529216486895LL, 81985529216486895LL))
    return 1;
  if (test__muldi3(81985529216486895LL, 1, 81985529216486895LL))
    return 1;
  if (test__muldi3(1, -1, -1))
    return 1;
  if (test__muldi3(1, -10, -10))
    return 1;
  if (test__muldi3(-10, 1, -10))
    return 1;
  if (test__muldi3(1, -81985529216486895LL, -81985529216486895LL))
    return 1;
  if (test__muldi3(-81985529216486895LL, 1, -81985529216486895LL))
    return 1;
  if (test__muldi3(3037000499LL, 3037000499LL, 9223372030926249001LL))
    return 1;
  if (test__muldi3(-3037000499LL, 3037000499LL, -9223372030926249001LL))
    return 1;
  if (test__muldi3(3037000499LL, -3037000499LL, -9223372030926249001LL))
    return 1;
  if (test__muldi3(-3037000499LL, -3037000499LL, 9223372030926249001LL))
    return 1;
  if (test__muldi3(4398046511103LL, 2097152LL, 9223372036852678656LL))
    return 1;
  if (test__muldi3(-4398046511103LL, 2097152LL, -9223372036852678656LL))
    return 1;
  if (test__muldi3(4398046511103LL, -2097152LL, -9223372036852678656LL))
    return 1;
  if (test__muldi3(-4398046511103LL, -2097152LL, 9223372036852678656LL))
    return 1;
  if (test__muldi3(2097152LL, 4398046511103LL, 9223372036852678656LL))
    return 1;
  if (test__muldi3(-2097152LL, 4398046511103LL, -9223372036852678656LL))
    return 1;
  if (test__muldi3(2097152LL, -4398046511103LL, -9223372036852678656LL))
    return 1;
  if (test__muldi3(-2097152LL, -4398046511103LL, 9223372036852678656LL))
    return 1;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rdi
mov    %rdx,%rsi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1144 <main+0x34>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
xor    %eax,%eax
mov    %eax,%edx
mov    $0x1,%esi
mov    %rdx,%rdi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     116b <main+0x5b>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0x1,%edi
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1192 <main+0x82>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
xor    %eax,%eax
mov    %eax,%edx
mov    $0xa,%esi
mov    %rdx,%rdi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     11b9 <main+0xa9>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0xa,%edi
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     11e0 <main+0xd0>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
xor    %eax,%eax
mov    %eax,%edx
movabs $0x123456789abcdef,%rsi
45 23 01
mov    %rdx,%rdi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     120c <main+0xfc>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
movabs $0x123456789abcdef,%rdi
45 23 01
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1238 <main+0x128>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
xor    %eax,%eax
mov    %eax,%edx
mov    $0xffffffffffffffff,%rsi
mov    %rdx,%rdi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1261 <main+0x151>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0xffffffffffffffff,%rdi
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     128a <main+0x17a>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
xor    %eax,%eax
mov    %eax,%edx
mov    $0xfffffffffffffff6,%rsi
mov    %rdx,%rdi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     12b3 <main+0x1a3>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0xfffffffffffffff6,%rdi
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     12dc <main+0x1cc>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
xor    %eax,%eax
mov    %eax,%edx
movabs $0xfedcba9876543211,%rsi
ba dc fe
mov    %rdx,%rdi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1308 <main+0x1f8>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
movabs $0xfedcba9876543211,%rdi
ba dc fe
xor    %eax,%eax
mov    %eax,%edx
mov    %rdx,%rsi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1334 <main+0x224>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0x1,%edx
mov    %rdx,%rdi
mov    %rdx,%rsi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     135a <main+0x24a>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0x1,%edi
mov    $0xa,%edx
mov    %rdx,%rsi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1382 <main+0x272>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0xa,%edx
mov    $0x1,%esi
mov    %rdx,%rdi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     13aa <main+0x29a>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0x1,%edi
movabs $0x123456789abcdef,%rdx
45 23 01
mov    %rdx,%rsi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     13d7 <main+0x2c7>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
movabs $0x123456789abcdef,%rdx
45 23 01
mov    $0x1,%esi
mov    %rdx,%rdi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1404 <main+0x2f4>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0x1,%edi
mov    $0xffffffffffffffff,%rdx
mov    %rdx,%rsi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     142e <main+0x31e>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0x1,%edi
mov    $0xfffffffffffffff6,%rdx
mov    %rdx,%rsi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1458 <main+0x348>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0xfffffffffffffff6,%rdx
mov    $0x1,%esi
mov    %rdx,%rdi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1482 <main+0x372>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0x1,%edi
movabs $0xfedcba9876543211,%rdx
ba dc fe
mov    %rdx,%rsi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     14af <main+0x39f>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
movabs $0xfedcba9876543211,%rdx
ba dc fe
mov    $0x1,%esi
mov    %rdx,%rdi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     14dc <main+0x3cc>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0xb504f333,%esi
movabs $0x7ffffffe9ea1dc29,%rdx
ff ff 7f
mov    %rsi,%rdi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1509 <main+0x3f9>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
movabs $0xffffffff4afb0ccd,%rdi
ff ff ff
mov    $0xb504f333,%esi
movabs $0x80000001615e23d7,%rdx
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     153d <main+0x42d>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0xb504f333,%edi
movabs $0xffffffff4afb0ccd,%rsi
ff ff ff
movabs $0x80000001615e23d7,%rdx
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1571 <main+0x461>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
movabs $0xffffffff4afb0ccd,%rsi
ff ff ff
movabs $0x7ffffffe9ea1dc29,%rdx
ff ff 7f
mov    %rsi,%rdi
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     15a3 <main+0x493>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
movabs $0x3ffffffffff,%rdi
mov    $0x200000,%esi
movabs $0x7fffffffffe00000,%rdx
ff ff 7f
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     15d7 <main+0x4c7>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
movabs $0xfffffc0000000001,%rdi
fc ff ff
mov    $0x200000,%esi
movabs $0x8000000000200000,%rdx
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     160b <main+0x4fb>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
movabs $0x3ffffffffff,%rdi
mov    $0xffffffffffe00000,%rsi
movabs $0x8000000000200000,%rdx
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1641 <main+0x531>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
movabs $0xfffffc0000000001,%rdi
fc ff ff
mov    $0xffffffffffe00000,%rsi
movabs $0x7fffffffffe00000,%rdx
ff ff 7f
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1677 <main+0x567>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0x200000,%edi
movabs $0x3ffffffffff,%rsi
movabs $0x7fffffffffe00000,%rdx
ff ff 7f
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     16ab <main+0x59b>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0xffffffffffe00000,%rdi
movabs $0x3ffffffffff,%rsi
movabs $0x8000000000200000,%rdx
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     16e1 <main+0x5d1>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0x200000,%edi
movabs $0xfffffc0000000001,%rsi
fc ff ff
movabs $0x8000000000200000,%rdx
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     1715 <main+0x605>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
mov    $0xffffffffffe00000,%rdi
movabs $0xfffffc0000000001,%rsi
fc ff ff
movabs $0x7fffffffffe00000,%rdx
ff ff 7f
call   1030 <test__muldi3@plt>
cmp    $0x0,%rax
je     174b <main+0x63b>
movl   $0x1,-0x4(%rbp)
jmp    1752 <main+0x642>
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
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__muldi3@plt>
mov    $0x1,%ebx
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0x1,%esi
xor    %edi,%edi
xor    %edx,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0x1,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0xa,%esi
xor    %edi,%edi
xor    %edx,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0xa,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
movabs $0x123456789abcdef,%r14
45 23 01
xor    %edi,%edi
mov    %r14,%rsi
xor    %edx,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    %r14,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
xor    %edi,%edi
mov    $0xffffffffffffffff,%rsi
xor    %edx,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0xffffffffffffffff,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
xor    %edi,%edi
mov    $0xfffffffffffffff6,%rsi
xor    %edx,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0xfffffffffffffff6,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
movabs $0xfedcba9876543211,%r15
ba dc fe
xor    %edi,%edi
mov    %r15,%rsi
xor    %edx,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    %r15,%rdi
xor    %esi,%esi
xor    %edx,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0x1,%edi
mov    $0xa,%esi
mov    $0xa,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0xa,%edi
mov    $0x1,%esi
mov    $0xa,%edx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0x1,%edi
mov    %r14,%rsi
mov    %r14,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0x1,%esi
mov    %r14,%rdi
mov    %r14,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0x1,%edi
mov    $0xffffffffffffffff,%rsi
mov    $0xffffffffffffffff,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0x1,%edi
mov    $0xfffffffffffffff6,%rsi
mov    $0xfffffffffffffff6,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0x1,%esi
mov    $0xfffffffffffffff6,%rdi
mov    $0xfffffffffffffff6,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0x1,%edi
mov    %r15,%rsi
mov    %r15,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0x1,%esi
mov    %r15,%rdi
mov    %r15,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
movabs $0x7ffffffe9ea1dc29,%r14
ff ff 7f
mov    $0xb504f333,%edi
mov    $0xb504f333,%esi
mov    %r14,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
movabs $0xffffffff4afb0ccd,%r15
ff ff ff
movabs $0x80000001615e23d7,%r12
mov    $0xb504f333,%esi
mov    %r15,%rdi
mov    %r12,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0xb504f333,%edi
mov    %r15,%rsi
mov    %r12,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    %r15,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
movabs $0x7fffffffffe00000,%r14
ff ff 7f
movabs $0x3ffffffffff,%r12
mov    $0x200000,%esi
mov    %r12,%rdi
mov    %r14,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
movabs $0xfffffc0000000001,%r15
fc ff ff
lea    0x400000(%r14),%r13
mov    $0x200000,%esi
mov    %r15,%rdi
mov    %r13,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    %r12,%rdi
mov    $0xffffffffffe00000,%rsi
mov    %r13,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    %r15,%rdi
mov    $0xffffffffffe00000,%rsi
mov    %r14,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0x200000,%edi
mov    %r12,%rsi
mov    %r14,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0xffffffffffe00000,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0x200000,%edi
mov    %r15,%rsi
mov    %r13,%rdx
call   1030 <test__muldi3@plt>
test   %rax,%rax
jne    14da <main+0x3ca>
mov    $0xffffffffffe00000,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
call   1030 <test__muldi3@plt>
xor    %ebx,%ebx
test   %rax,%rax
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 i64 @test__muldi3(i64 0, i64 0, i64 0)
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 1, i32* %1
br label %142
5: ; preds = %0
%6 = call i64 @test__muldi3(i64 0, i64 1, i64 0)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5
store i32 1, i32* %1
br label %142
9: ; preds = %5
%10 = call i64 @test__muldi3(i64 1, i64 0, i64 0)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, i32* %1
br label %142
13: ; preds = %9
%14 = call i64 @test__muldi3(i64 0, i64 10, i64 0)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 1, i32* %1
br label %142
17: ; preds = %13
%18 = call i64 @test__muldi3(i64 10, i64 0, i64 0)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %17
store i32 1, i32* %1
br label %142
21: ; preds = %17
%22 = call i64 @test__muldi3(i64 0, i64 81985529216486895, i64 0)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %21
store i32 1, i32* %1
br label %142
25: ; preds = %21
%26 = call i64 @test__muldi3(i64 81985529216486895, i64 0, i64 0)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %25
store i32 1, i32* %1
br label %142
29: ; preds = %25
%30 = call i64 @test__muldi3(i64 0, i64 -1, i64 0)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %29
store i32 1, i32* %1
br label %142
33: ; preds = %29
%34 = call i64 @test__muldi3(i64 -1, i64 0, i64 0)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %33
store i32 1, i32* %1
br label %142
37: ; preds = %33
%38 = call i64 @test__muldi3(i64 0, i64 -10, i64 0)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %37
store i32 1, i32* %1
br label %142
41: ; preds = %37
%42 = call i64 @test__muldi3(i64 -10, i64 0, i64 0)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %41
store i32 1, i32* %1
br label %142
45: ; preds = %41
%46 = call i64 @test__muldi3(i64 0, i64 -81985529216486895, i64 0)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %45
store i32 1, i32* %1
br label %142
49: ; preds = %45
%50 = call i64 @test__muldi3(i64 -81985529216486895, i64 0, i64 0)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %49
store i32 1, i32* %1
br label %142
53: ; preds = %49
%54 = call i64 @test__muldi3(i64 1, i64 1, i64 1)
%55 = icmp ne i64 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %53
store i32 1, i32* %1
br label %142
57: ; preds = %53
%58 = call i64 @test__muldi3(i64 1, i64 10, i64 10)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %57
store i32 1, i32* %1
br label %142
61: ; preds = %57
%62 = call i64 @test__muldi3(i64 10, i64 1, i64 10)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %61
store i32 1, i32* %1
br label %142
65: ; preds = %61
%66 = call i64 @test__muldi3(i64 1, i64 81985529216486895, i64 81985529216486895)
%67 = icmp ne i64 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %65
store i32 1, i32* %1
br label %142
69: ; preds = %65
%70 = call i64 @test__muldi3(i64 81985529216486895, i64 1, i64 81985529216486895)
%71 = icmp ne i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %69
store i32 1, i32* %1
br label %142
73: ; preds = %69
%74 = call i64 @test__muldi3(i64 1, i64 -1, i64 -1)
%75 = icmp ne i64 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %73
store i32 1, i32* %1
br label %142
77: ; preds = %73
%78 = call i64 @test__muldi3(i64 1, i64 -10, i64 -10)
%79 = icmp ne i64 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %77
store i32 1, i32* %1
br label %142
81: ; preds = %77
%82 = call i64 @test__muldi3(i64 -10, i64 1, i64 -10)
%83 = icmp ne i64 %82, 0
br i1 %83, label %84, label %85
84: ; preds = %81
store i32 1, i32* %1
br label %142
85: ; preds = %81
%86 = call i64 @test__muldi3(i64 1, i64 -81985529216486895, i64 -81985529216486895)
%87 = icmp ne i64 %86, 0
br i1 %87, label %88, label %89
88: ; preds = %85
store i32 1, i32* %1
br label %142
89: ; preds = %85
%90 = call i64 @test__muldi3(i64 -81985529216486895, i64 1, i64 -81985529216486895)
%91 = icmp ne i64 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %89
store i32 1, i32* %1
br label %142
93: ; preds = %89
%94 = call i64 @test__muldi3(i64 3037000499, i64 3037000499, i64 9223372030926249001)
%95 = icmp ne i64 %94, 0
br i1 %95, label %96, label %97
96: ; preds = %93
store i32 1, i32* %1
br label %142
97: ; preds = %93
%98 = call i64 @test__muldi3(i64 -3037000499, i64 3037000499, i64 -9223372030926249001)
%99 = icmp ne i64 %98, 0
br i1 %99, label %100, label %101
100: ; preds = %97
store i32 1, i32* %1
br label %142
101: ; preds = %97
%102 = call i64 @test__muldi3(i64 3037000499, i64 -3037000499, i64 -9223372030926249001)
%103 = icmp ne i64 %102, 0
br i1 %103, label %104, label %105
104: ; preds = %101
store i32 1, i32* %1
br label %142
105: ; preds = %101
%106 = call i64 @test__muldi3(i64 -3037000499, i64 -3037000499, i64 9223372030926249001)
%107 = icmp ne i64 %106, 0
br i1 %107, label %108, label %109
108: ; preds = %105
store i32 1, i32* %1
br label %142
109: ; preds = %105
%110 = call i64 @test__muldi3(i64 4398046511103, i64 2097152, i64 9223372036852678656)
%111 = icmp ne i64 %110, 0
br i1 %111, label %112, label %113
112: ; preds = %109
store i32 1, i32* %1
br label %142
113: ; preds = %109
%114 = call i64 @test__muldi3(i64 -4398046511103, i64 2097152, i64 -9223372036852678656)
%115 = icmp ne i64 %114, 0
br i1 %115, label %116, label %117
116: ; preds = %113
store i32 1, i32* %1
br label %142
117: ; preds = %113
%118 = call i64 @test__muldi3(i64 4398046511103, i64 -2097152, i64 -9223372036852678656)
%119 = icmp ne i64 %118, 0
br i1 %119, label %120, label %121
120: ; preds = %117
store i32 1, i32* %1
br label %142
121: ; preds = %117
%122 = call i64 @test__muldi3(i64 -4398046511103, i64 -2097152, i64 9223372036852678656)
%123 = icmp ne i64 %122, 0
br i1 %123, label %124, label %125
124: ; preds = %121
store i32 1, i32* %1
br label %142
125: ; preds = %121
%126 = call i64 @test__muldi3(i64 2097152, i64 4398046511103, i64 9223372036852678656)
%127 = icmp ne i64 %126, 0
br i1 %127, label %128, label %129
128: ; preds = %125
store i32 1, i32* %1
br label %142
129: ; preds = %125
%130 = call i64 @test__muldi3(i64 -2097152, i64 4398046511103, i64 -9223372036852678656)
%131 = icmp ne i64 %130, 0
br i1 %131, label %132, label %133
132: ; preds = %129
store i32 1, i32* %1
br label %142
133: ; preds = %129
%134 = call i64 @test__muldi3(i64 2097152, i64 -4398046511103, i64 -9223372036852678656)
%135 = icmp ne i64 %134, 0
br i1 %135, label %136, label %137
136: ; preds = %133
store i32 1, i32* %1
br label %142
137: ; preds = %133
%138 = call i64 @test__muldi3(i64 -2097152, i64 -4398046511103, i64 9223372036852678656)
%139 = icmp ne i64 %138, 0
br i1 %139, label %140, label %141
140: ; preds = %137
store i32 1, i32* %1
br label %142
141: ; preds = %137
store i32 0, i32* %1
br label %142
142: ; preds = %141, %140, %136, %132, %128, %124, %120, %116, %112, %108, %104, %100, %96, %92, %88, %84, %80, %76, %72, %68, %64, %60, %56, %52, %48, %44, %40, %36, %32, %28, %24, %20, %16, %12, %8, %4
%143 = load i32, i32* %1
ret i32 %143
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i64 @test__muldi3(i64 0, i64 0, i64 0)
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %106
3: ; preds = %0
%4 = tail call i64 @test__muldi3(i64 0, i64 1, i64 0)
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %106
6: ; preds = %3
%7 = tail call i64 @test__muldi3(i64 1, i64 0, i64 0)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %106
9: ; preds = %6
%10 = tail call i64 @test__muldi3(i64 0, i64 10, i64 0)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %106
12: ; preds = %9
%13 = tail call i64 @test__muldi3(i64 10, i64 0, i64 0)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %106
15: ; preds = %12
%16 = tail call i64 @test__muldi3(i64 0, i64 81985529216486895, i64 0)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %106
18: ; preds = %15
%19 = tail call i64 @test__muldi3(i64 81985529216486895, i64 0, i64 0)
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %106
21: ; preds = %18
%22 = tail call i64 @test__muldi3(i64 0, i64 -1, i64 0)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %106
24: ; preds = %21
%25 = tail call i64 @test__muldi3(i64 -1, i64 0, i64 0)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %106
27: ; preds = %24
%28 = tail call i64 @test__muldi3(i64 0, i64 -10, i64 0)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %106
30: ; preds = %27
%31 = tail call i64 @test__muldi3(i64 -10, i64 0, i64 0)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %106
33: ; preds = %30
%34 = tail call i64 @test__muldi3(i64 0, i64 -81985529216486895, i64 0)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %106
36: ; preds = %33
%37 = tail call i64 @test__muldi3(i64 -81985529216486895, i64 0, i64 0)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %106
39: ; preds = %36
%40 = tail call i64 @test__muldi3(i64 1, i64 1, i64 1)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %106
42: ; preds = %39
%43 = tail call i64 @test__muldi3(i64 1, i64 10, i64 10)
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %106
45: ; preds = %42
%46 = tail call i64 @test__muldi3(i64 10, i64 1, i64 10)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %106
48: ; preds = %45
%49 = tail call i64 @test__muldi3(i64 1, i64 81985529216486895, i64 81985529216486895)
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %106
51: ; preds = %48
%52 = tail call i64 @test__muldi3(i64 81985529216486895, i64 1, i64 81985529216486895)
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %106
54: ; preds = %51
%55 = tail call i64 @test__muldi3(i64 1, i64 -1, i64 -1)
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %106
57: ; preds = %54
%58 = tail call i64 @test__muldi3(i64 1, i64 -10, i64 -10)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %106
60: ; preds = %57
%61 = tail call i64 @test__muldi3(i64 -10, i64 1, i64 -10)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %106
63: ; preds = %60
%64 = tail call i64 @test__muldi3(i64 1, i64 -81985529216486895, i64 -81985529216486895)
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %106
66: ; preds = %63
%67 = tail call i64 @test__muldi3(i64 -81985529216486895, i64 1, i64 -81985529216486895)
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %106
69: ; preds = %66
%70 = tail call i64 @test__muldi3(i64 3037000499, i64 3037000499, i64 9223372030926249001)
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %106
72: ; preds = %69
%73 = tail call i64 @test__muldi3(i64 -3037000499, i64 3037000499, i64 -9223372030926249001)
%74 = icmp eq i64 %73, 0
br i1 %74, label %75, label %106
75: ; preds = %72
%76 = tail call i64 @test__muldi3(i64 3037000499, i64 -3037000499, i64 -9223372030926249001)
%77 = icmp eq i64 %76, 0
br i1 %77, label %78, label %106
78: ; preds = %75
%79 = tail call i64 @test__muldi3(i64 -3037000499, i64 -3037000499, i64 9223372030926249001)
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %106
81: ; preds = %78
%82 = tail call i64 @test__muldi3(i64 4398046511103, i64 2097152, i64 9223372036852678656)
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %106
84: ; preds = %81
%85 = tail call i64 @test__muldi3(i64 -4398046511103, i64 2097152, i64 -9223372036852678656)
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %106
87: ; preds = %84
%88 = tail call i64 @test__muldi3(i64 4398046511103, i64 -2097152, i64 -9223372036852678656)
%89 = icmp eq i64 %88, 0
br i1 %89, label %90, label %106
90: ; preds = %87
%91 = tail call i64 @test__muldi3(i64 -4398046511103, i64 -2097152, i64 9223372036852678656)
%92 = icmp eq i64 %91, 0
br i1 %92, label %93, label %106
93: ; preds = %90
%94 = tail call i64 @test__muldi3(i64 2097152, i64 4398046511103, i64 9223372036852678656)
%95 = icmp eq i64 %94, 0
br i1 %95, label %96, label %106
96: ; preds = %93
%97 = tail call i64 @test__muldi3(i64 -2097152, i64 4398046511103, i64 -9223372036852678656)
%98 = icmp eq i64 %97, 0
br i1 %98, label %99, label %106
99: ; preds = %96
%100 = tail call i64 @test__muldi3(i64 2097152, i64 -4398046511103, i64 -9223372036852678656)
%101 = icmp eq i64 %100, 0
br i1 %101, label %102, label %106
102: ; preds = %99
%103 = tail call i64 @test__muldi3(i64 -2097152, i64 -4398046511103, i64 9223372036852678656)
%104 = icmp ne i64 %103, 0
%105 = zext i1 %104 to i32
br label %106
106: ; preds = %102, %99, %96, %93, %90, %87, %84, %81, %78, %75, %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6, %3, %0
%107 = 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, %54 ], [ 1, %57 ], [ 1, %60 ], [ 1, %63 ], [ 1, %66 ], [ 1, %69 ], [ 1, %72 ], [ 1, %75 ], [ 1, %78 ], [ 1, %81 ], [ 1, %84 ], [ 1, %87 ], [ 1, %90 ], [ 1, %93 ], [ 1, %96 ], [ 1, %99 ], [ %105, %102 ]
ret i32 %107
}