#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 */
int /*<<< orphan*/ abort();
int main1() {
  int i;
  float b[16] = {0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45};
  float c[16] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
  float diff;
  diff = 0;
  for (i = 0; i < 16; i++) {
    diff += (b[i] - c[i]);
  }
  if (diff != 240)
    abort();
  return 0;
}


x86 assembly (clang, -O0):
<main1>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
lea    -0x50(%rbp),%rdi
lea    0xeda(%rip),%rsi
mov    $0x40,%edx
call   1040 <memcpy@plt>
lea    -0x90(%rbp),%rdi
lea    0xf02(%rip),%rsi
mov    $0x40,%edx
call   1040 <memcpy@plt>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    11a9 <main1+0x89>
movslq -0x4(%rbp),%rax
movss  -0x50(%rbp,%rax,4),%xmm0
movslq -0x4(%rbp),%rax
subss  -0x90(%rbp,%rax,4),%xmm0
ff ff
addss  -0x94(%rbp),%xmm0
ff
movss  %xmm0,-0x94(%rbp)
ff
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    116a <main1+0x4a>
movss  -0x94(%rbp),%xmm0
ff
movss  0xe47(%rip),%xmm1
ucomiss %xmm1,%xmm0
jne    11cd <main1+0xad>
jp     11cd <main1+0xad>
jmp    11d4 <main1+0xb4>
mov    $0x0,%al
call   1030 <abort@plt>
xor    %eax,%eax
add    $0xa0,%rsp
pop    %rbp
ret

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

LLVM IR (-O0):
@__const.main1.b = [16 x float] [float 0.000000e+00, float 3.000000e+00, float 6.000000e+00, float 9.000000e+00, float 1.200000e+01, float 1.500000e+01, float 1.800000e+01, float 2.100000e+01, float 2.400000e+01, float 2.700000e+01, float 3.000000e+01, float 3.300000e+01, float 3.600000e+01, float 3.900000e+01, float 4.200000e+01, float 4.500000e+01]
@__const.main1.c = [16 x float] [float 0.000000e+00, float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00, float 9.000000e+00, float 1.000000e+01, float 1.100000e+01, float 1.200000e+01, float 1.300000e+01, float 1.400000e+01, float 1.500000e+01]
define i32 @main1() {
%1 = alloca i32
%2 = alloca [16 x float]
%3 = alloca [16 x float]
%4 = alloca float
%5 = bitcast [16 x float]* %2 to i8*
%6 = bitcast [16 x float]* %3 to i8*
store float 0.000000e+00, float* %4
store i32 0, i32* %1
br label %7
7: ; preds = %22, %0
%8 = load i32, i32* %1
%9 = icmp slt i32 %8, 16
br i1 %9, label %10, label %25
10: ; preds = %7
%11 = load i32, i32* %1
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [16 x float], [16 x float]* %2, i64 0, i64 %12
%14 = load float, float* %13
%15 = load i32, i32* %1
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [16 x float], [16 x float]* %3, i64 0, i64 %16
%18 = load float, float* %17
%19 = fsub float %14, %18
%20 = load float, float* %4
%21 = fadd float %20, %19
store float %21, float* %4
br label %22
22: ; preds = %10
%23 = load i32, i32* %1
%24 = add nsw i32 %23, 1
store i32 %24, i32* %1
br label %7
25: ; preds = %7
%26 = load float, float* %4
%27 = fcmp une float %26, 2.400000e+02
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = call i32 (...) @abort()
unreachable
30: ; preds = %25
ret i32 0
}

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