int main(int argc, const char *argv[]) {
  struct nested_struct {
    double c;
  };
  struct my_struct {
    int a;
    struct nested_struct b[2][2];
  };
  struct my_struct array[2];
  array[0].a = 1;
  array[0].b[0][0].c = 3.5;
  array[0].b[0][1].c = 3.6;
  array[0].b[1][0].c = 3.7;
  array[0].b[1][1].c = 3.8;
  array[1].a = 2;
  array[1].b[0][0].c = 4.5;
  array[1].b[0][1].c = 4.6;
  array[1].b[1][0].c = 18.9;
  array[1].b[1][1].c = 18.95;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x1,-0x60(%rbp)
movsd  0xf17(%rip),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xf02(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xeed(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xed8(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
movl   $0x2,-0x38(%rbp)
movsd  0xebc(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xea7(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xe92(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe7d(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
xor    %eax,%eax
pop    %rbp
ret

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

LLVM IR (-O0):
%struct.my_struct = type { i32, [2 x [2 x %struct.nested_struct]] }
%struct.nested_struct = type { double }
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [2 x %struct.my_struct]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%7 = getelementptr inbounds [2 x %struct.my_struct], [2 x %struct.my_struct]* %6, i64 0, i64 0
%8 = getelementptr inbounds %struct.my_struct, %struct.my_struct* %7, i32 0, i32 0
store i32 1, i32* %8
%9 = getelementptr inbounds [2 x %struct.my_struct], [2 x %struct.my_struct]* %6, i64 0, i64 0
%10 = getelementptr inbounds %struct.my_struct, %struct.my_struct* %9, i32 0, i32 1
%11 = getelementptr inbounds [2 x [2 x %struct.nested_struct]], [2 x [2 x %struct.nested_struct]]* %10, i64 0, i64 0
%12 = getelementptr inbounds [2 x %struct.nested_struct], [2 x %struct.nested_struct]* %11, i64 0, i64 0
%13 = getelementptr inbounds %struct.nested_struct, %struct.nested_struct* %12, i32 0, i32 0
store double 3.500000e+00, double* %13
%14 = getelementptr inbounds [2 x %struct.my_struct], [2 x %struct.my_struct]* %6, i64 0, i64 0
%15 = getelementptr inbounds %struct.my_struct, %struct.my_struct* %14, i32 0, i32 1
%16 = getelementptr inbounds [2 x [2 x %struct.nested_struct]], [2 x [2 x %struct.nested_struct]]* %15, i64 0, i64 0
%17 = getelementptr inbounds [2 x %struct.nested_struct], [2 x %struct.nested_struct]* %16, i64 0, i64 1
%18 = getelementptr inbounds %struct.nested_struct, %struct.nested_struct* %17, i32 0, i32 0
store double 3.600000e+00, double* %18
%19 = getelementptr inbounds [2 x %struct.my_struct], [2 x %struct.my_struct]* %6, i64 0, i64 0
%20 = getelementptr inbounds %struct.my_struct, %struct.my_struct* %19, i32 0, i32 1
%21 = getelementptr inbounds [2 x [2 x %struct.nested_struct]], [2 x [2 x %struct.nested_struct]]* %20, i64 0, i64 1
%22 = getelementptr inbounds [2 x %struct.nested_struct], [2 x %struct.nested_struct]* %21, i64 0, i64 0
%23 = getelementptr inbounds %struct.nested_struct, %struct.nested_struct* %22, i32 0, i32 0
store double 3.700000e+00, double* %23
%24 = getelementptr inbounds [2 x %struct.my_struct], [2 x %struct.my_struct]* %6, i64 0, i64 0
%25 = getelementptr inbounds %struct.my_struct, %struct.my_struct* %24, i32 0, i32 1
%26 = getelementptr inbounds [2 x [2 x %struct.nested_struct]], [2 x [2 x %struct.nested_struct]]* %25, i64 0, i64 1
%27 = getelementptr inbounds [2 x %struct.nested_struct], [2 x %struct.nested_struct]* %26, i64 0, i64 1
%28 = getelementptr inbounds %struct.nested_struct, %struct.nested_struct* %27, i32 0, i32 0
store double 3.800000e+00, double* %28
%29 = getelementptr inbounds [2 x %struct.my_struct], [2 x %struct.my_struct]* %6, i64 0, i64 1
%30 = getelementptr inbounds %struct.my_struct, %struct.my_struct* %29, i32 0, i32 0
store i32 2, i32* %30
%31 = getelementptr inbounds [2 x %struct.my_struct], [2 x %struct.my_struct]* %6, i64 0, i64 1
%32 = getelementptr inbounds %struct.my_struct, %struct.my_struct* %31, i32 0, i32 1
%33 = getelementptr inbounds [2 x [2 x %struct.nested_struct]], [2 x [2 x %struct.nested_struct]]* %32, i64 0, i64 0
%34 = getelementptr inbounds [2 x %struct.nested_struct], [2 x %struct.nested_struct]* %33, i64 0, i64 0
%35 = getelementptr inbounds %struct.nested_struct, %struct.nested_struct* %34, i32 0, i32 0
store double 4.500000e+00, double* %35
%36 = getelementptr inbounds [2 x %struct.my_struct], [2 x %struct.my_struct]* %6, i64 0, i64 1
%37 = getelementptr inbounds %struct.my_struct, %struct.my_struct* %36, i32 0, i32 1
%38 = getelementptr inbounds [2 x [2 x %struct.nested_struct]], [2 x [2 x %struct.nested_struct]]* %37, i64 0, i64 0
%39 = getelementptr inbounds [2 x %struct.nested_struct], [2 x %struct.nested_struct]* %38, i64 0, i64 1
%40 = getelementptr inbounds %struct.nested_struct, %struct.nested_struct* %39, i32 0, i32 0
store double 4.600000e+00, double* %40
%41 = getelementptr inbounds [2 x %struct.my_struct], [2 x %struct.my_struct]* %6, i64 0, i64 1
%42 = getelementptr inbounds %struct.my_struct, %struct.my_struct* %41, i32 0, i32 1
%43 = getelementptr inbounds [2 x [2 x %struct.nested_struct]], [2 x [2 x %struct.nested_struct]]* %42, i64 0, i64 1
%44 = getelementptr inbounds [2 x %struct.nested_struct], [2 x %struct.nested_struct]* %43, i64 0, i64 0
%45 = getelementptr inbounds %struct.nested_struct, %struct.nested_struct* %44, i32 0, i32 0
store double 1.890000e+01, double* %45
%46 = getelementptr inbounds [2 x %struct.my_struct], [2 x %struct.my_struct]* %6, i64 0, i64 1
%47 = getelementptr inbounds %struct.my_struct, %struct.my_struct* %46, i32 0, i32 1
%48 = getelementptr inbounds [2 x [2 x %struct.nested_struct]], [2 x [2 x %struct.nested_struct]]* %47, i64 0, i64 1
%49 = getelementptr inbounds [2 x %struct.nested_struct], [2 x %struct.nested_struct]* %48, i64 0, i64 1
%50 = getelementptr inbounds %struct.nested_struct, %struct.nested_struct* %49, i32 0, i32 0
store double 1.895000e+01, double* %50
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
ret i32 0
}