void test7(void) {
  double a[100];
  double b[100];
  char c[100];
  double *pointer;
  double *pointerb;
  char *pointerc;
  pointerb = b;
  pointer = a;
  pointerc = c;
  if (a - b >= a) {
  } else if (b - a < a) {
  }
  if (a < b) {
  }
  if (pointer < pointerb) {
  }
  if (pointer > pointerb) {
  }
  if (pointerb <= pointer) {
  }
  if (pointer >= pointerb) {
  }
  if (pointer < pointerc) {
  }
  int i = 0;
  for (i = 0; i < 50; i++) {
    *(a + i) = i;
  }
}


x86 assembly (clang, -O0):
<test7>:
push   %rbp
mov    %rsp,%rbp
sub    $0x650,%rsp
lea    -0x640(%rbp),%rax
mov    %rax,-0x6c0(%rbp)
lea    -0x320(%rbp),%rax
mov    %rax,-0x6b8(%rbp)
lea    -0x6b0(%rbp),%rax
mov    %rax,-0x6c8(%rbp)
lea    -0x320(%rbp),%rax
lea    -0x640(%rbp),%rcx
sub    %rcx,%rax
sar    $0x3,%rax
lea    -0x320(%rbp),%rcx
cmp    %rcx,%rax
jb     115f <test7+0x5f>
jmp    118e <test7+0x8e>
lea    -0x640(%rbp),%rax
lea    -0x320(%rbp),%rcx
sub    %rcx,%rax
sar    $0x3,%rax
lea    -0x320(%rbp),%rcx
cmp    %rcx,%rax
jae    1189 <test7+0x89>
jmp    1189 <test7+0x89>
jmp    118e <test7+0x8e>
lea    -0x320(%rbp),%rax
lea    -0x640(%rbp),%rcx
cmp    %rcx,%rax
jae    11aa <test7+0xaa>
jmp    11aa <test7+0xaa>
mov    -0x6b8(%rbp),%rax
cmp    -0x6c0(%rbp),%rax
jae    11c3 <test7+0xc3>
jmp    11c3 <test7+0xc3>
mov    -0x6b8(%rbp),%rax
cmp    -0x6c0(%rbp),%rax
jbe    11dc <test7+0xdc>
jmp    11dc <test7+0xdc>
mov    -0x6c0(%rbp),%rax
cmp    -0x6b8(%rbp),%rax
ja     11f5 <test7+0xf5>
jmp    11f5 <test7+0xf5>
mov    -0x6b8(%rbp),%rax
cmp    -0x6c0(%rbp),%rax
jb     120e <test7+0x10e>
jmp    120e <test7+0x10e>
mov    -0x6b8(%rbp),%rax
mov    -0x6c8(%rbp),%rcx
cmp    %rcx,%rax
jae    122a <test7+0x12a>
jmp    122a <test7+0x12a>
movl   $0x0,-0x6cc(%rbp)
movl   $0x0,-0x6cc(%rbp)
cmpl   $0x32,-0x6cc(%rbp)
jge    1277 <test7+0x177>
cvtsi2sdl -0x6cc(%rbp),%xmm0
ff
movslq -0x6cc(%rbp),%rax
movsd  %xmm0,-0x320(%rbp,%rax,8)
ff ff
mov    -0x6cc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6cc(%rbp)
jmp    123e <test7+0x13e>
add    $0x650,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test7>:
ret

LLVM IR (-O0):
define void @test7() {
%1 = alloca [100 x double]
%2 = alloca [100 x double]
%3 = alloca [100 x i8]
%4 = alloca double*
%5 = alloca double*
%6 = alloca i8*
%7 = alloca i32
%8 = getelementptr inbounds [100 x double], [100 x double]* %2, i64 0, i64 0
store double* %8, double** %5
%9 = getelementptr inbounds [100 x double], [100 x double]* %1, i64 0, i64 0
store double* %9, double** %4
%10 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 0
store i8* %10, i8** %6
%11 = getelementptr inbounds [100 x double], [100 x double]* %1, i64 0, i64 0
%12 = getelementptr inbounds [100 x double], [100 x double]* %2, i64 0, i64 0
%13 = ptrtoint double* %11 to i64
%14 = ptrtoint double* %12 to i64
%15 = sub i64 %13, %14
%16 = sdiv exact i64 %15, 8
%17 = inttoptr i64 %16 to double*
%18 = getelementptr inbounds [100 x double], [100 x double]* %1, i64 0, i64 0
%19 = icmp uge double* %17, %18
br i1 %19, label %20, label %21
20: ; preds = %0
br label %33
21: ; preds = %0
%22 = getelementptr inbounds [100 x double], [100 x double]* %2, i64 0, i64 0
%23 = getelementptr inbounds [100 x double], [100 x double]* %1, i64 0, i64 0
%24 = ptrtoint double* %22 to i64
%25 = ptrtoint double* %23 to i64
%26 = sub i64 %24, %25
%27 = sdiv exact i64 %26, 8
%28 = inttoptr i64 %27 to double*
%29 = getelementptr inbounds [100 x double], [100 x double]* %1, i64 0, i64 0
%30 = icmp ult double* %28, %29
br i1 %30, label %31, label %32
31: ; preds = %21
br label %32
32: ; preds = %31, %21
br label %33
33: ; preds = %32, %20
%34 = getelementptr inbounds [100 x double], [100 x double]* %1, i64 0, i64 0
%35 = getelementptr inbounds [100 x double], [100 x double]* %2, i64 0, i64 0
%36 = icmp ult double* %34, %35
br i1 %36, label %37, label %38
37: ; preds = %33
br label %38
38: ; preds = %37, %33
%39 = load double*, double** %4
%40 = load double*, double** %5
%41 = icmp ult double* %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38
br label %43
43: ; preds = %42, %38
%44 = load double*, double** %4
%45 = load double*, double** %5
%46 = icmp ugt double* %44, %45
br i1 %46, label %47, label %48
47: ; preds = %43
br label %48
48: ; preds = %47, %43
%49 = load double*, double** %5
%50 = load double*, double** %4
%51 = icmp ule double* %49, %50
br i1 %51, label %52, label %53
52: ; preds = %48
br label %53
53: ; preds = %52, %48
%54 = load double*, double** %4
%55 = load double*, double** %5
%56 = icmp uge double* %54, %55
br i1 %56, label %57, label %58
57: ; preds = %53
br label %58
58: ; preds = %57, %53
%59 = load double*, double** %4
%60 = load i8*, i8** %6
%61 = bitcast i8* %60 to double*
%62 = icmp ult double* %59, %61
br i1 %62, label %63, label %64
63: ; preds = %58
br label %64
64: ; preds = %63, %58
store i32 0, i32* %7
store i32 0, i32* %7
br label %65
65: ; preds = %75, %64
%66 = load i32, i32* %7
%67 = icmp slt i32 %66, 50
br i1 %67, label %68, label %78
68: ; preds = %65
%69 = load i32, i32* %7
%70 = sitofp i32 %69 to double
%71 = getelementptr inbounds [100 x double], [100 x double]* %1, i64 0, i64 0
%72 = load i32, i32* %7
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, double* %71, i64 %73
store double %70, double* %74
br label %75
75: ; preds = %68
%76 = load i32, i32* %7
%77 = add nsw i32 %76, 1
store i32 %77, i32* %7
br label %65
78: ; preds = %65
ret void
}

LLVM IR (-O2):
define void @test7() {
ret void
}