void Vector(void) {
#pragma acc loop vector
  for (int ix = 0; ix < 10; ix++) {
#pragma acc loop seq
    for (int jx = 0; jx < 10; jx++) {
    }
#pragma acc loop auto
    for (int jx = 0; jx < 10; jx++) {
    }
  }
#pragma acc loop auto
  for (int ix = 0; ix < 10; ix++) {
  }
#pragma acc loop auto
  for (int ix = 0; ix < 10; ix++) {
#pragma acc loop auto
    for (int jx = 0; jx < 10; jx++) {
    }
  }
}


x86 assembly (clang, -O0):
<Vector>:
push   %rbp
mov    %rsp,%rbp
movl   $0x0,-0x4(%rbp)
cmpl   $0xa,-0x4(%rbp)
jge    1170 <Vector+0x70>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1139 <Vector+0x39>
jmp    112b <Vector+0x2b>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    111c <Vector+0x1c>
movl   $0x0,-0xc(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    115d <Vector+0x5d>
jmp    114f <Vector+0x4f>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1140 <Vector+0x40>
jmp    1162 <Vector+0x62>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    110b <Vector+0xb>
movl   $0x0,-0x10(%rbp)
cmpl   $0xa,-0x10(%rbp)
jge    1194 <Vector+0x94>
jmp    1186 <Vector+0x86>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1177 <Vector+0x77>
movl   $0x0,-0x14(%rbp)
cmpl   $0xa,-0x14(%rbp)
jge    11dc <Vector+0xdc>
movl   $0x0,-0x18(%rbp)
cmpl   $0xa,-0x18(%rbp)
jge    11c9 <Vector+0xc9>
jmp    11bb <Vector+0xbb>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11ac <Vector+0xac>
jmp    11ce <Vector+0xce>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    119b <Vector+0x9b>
pop    %rbp
ret

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

LLVM IR (-O0):
define void @Vector() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i32 0, i32* %1
br label %7
7: ; preds = %27, %0
%8 = load i32, i32* %1
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %30
10: ; preds = %7
store i32 0, i32* %2
br label %11
11: ; preds = %15, %10
%12 = load i32, i32* %2
%13 = icmp slt i32 %12, 10
br i1 %13, label %14, label %18
14: ; preds = %11
br label %15
15: ; preds = %14
%16 = load i32, i32* %2
%17 = add nsw i32 %16, 1
store i32 %17, i32* %2
br label %11
18: ; preds = %11
store i32 0, i32* %3
br label %19
19: ; preds = %23, %18
%20 = load i32, i32* %3
%21 = icmp slt i32 %20, 10
br i1 %21, label %22, label %26
22: ; preds = %19
br label %23
23: ; preds = %22
%24 = load i32, i32* %3
%25 = add nsw i32 %24, 1
store i32 %25, i32* %3
br label %19
26: ; preds = %19
br label %27
27: ; preds = %26
%28 = load i32, i32* %1
%29 = add nsw i32 %28, 1
store i32 %29, i32* %1
br label %7
30: ; preds = %7
store i32 0, i32* %4
br label %31
31: ; preds = %35, %30
%32 = load i32, i32* %4
%33 = icmp slt i32 %32, 10
br i1 %33, label %34, label %38
34: ; preds = %31
br label %35
35: ; preds = %34
%36 = load i32, i32* %4
%37 = add nsw i32 %36, 1
store i32 %37, i32* %4
br label %31
38: ; preds = %31
store i32 0, i32* %5
br label %39
39: ; preds = %51, %38
%40 = load i32, i32* %5
%41 = icmp slt i32 %40, 10
br i1 %41, label %42, label %54
42: ; preds = %39
store i32 0, i32* %6
br label %43
43: ; preds = %47, %42
%44 = load i32, i32* %6
%45 = icmp slt i32 %44, 10
br i1 %45, label %46, label %50
46: ; preds = %43
br label %47
47: ; preds = %46
%48 = load i32, i32* %6
%49 = add nsw i32 %48, 1
store i32 %49, i32* %6
br label %43
50: ; preds = %43
br label %51
51: ; preds = %50
%52 = load i32, i32* %5
%53 = add nsw i32 %52, 1
store i32 %53, i32* %5
br label %39
54: ; preds = %39
ret void
}

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