void test_nontemporal() {
  int i;
#pragma omp target teams distribute simd nontemporal(
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd nontemporal(,
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd nontemporal(, )
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd nontemporal()
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd nontemporal(int)
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd nontemporal(0)
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd nontemporal(x)
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd nontemporal(x, y)
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd nontemporal(x, y, z)
  for (i = 0; i < 16; ++i)
    ;
  int x, y;
#pragma omp target teams distribute simd nontemporal(x:)
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd nontemporal(x:, )
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd nontemporal(x) nontemporal(x)
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd private(x) nontemporal(x)
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd nontemporal(x) private(x)
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd nontemporal(x, y : 0)
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd nontemporal(x) lastprivate(x)
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd lastprivate(x) nontemporal(x)
  for (i = 0; i < 16; ++i)
    ;
#pragma omp target teams distribute simd order
  for (int i = 0; i < 10; ++i)
    ;
#pragma omp target teams distribute simd order(
  for (int i = 0; i < 10; ++i)
    ;
#pragma omp target teams distribute simd order(none
  for (int i = 0; i < 10; ++i)
    ;
#pragma omp target teams distribute simd order(concurrent
  for (int i = 0; i < 10; ++i)
    ;
#pragma omp target teams distribute simd order(concurrent)
  for (int i = 0; i < 10; ++i)
    ;
}


x86 assembly (clang, -O0):
<test_nontemporal>:
push   %rbp
mov    %rsp,%rbp
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    1128 <test_nontemporal+0x28>
jmp    111a <test_nontemporal+0x1a>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    110b <test_nontemporal+0xb>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    114c <test_nontemporal+0x4c>
jmp    113e <test_nontemporal+0x3e>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    112f <test_nontemporal+0x2f>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    1170 <test_nontemporal+0x70>
jmp    1162 <test_nontemporal+0x62>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1153 <test_nontemporal+0x53>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    1194 <test_nontemporal+0x94>
jmp    1186 <test_nontemporal+0x86>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1177 <test_nontemporal+0x77>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    11b8 <test_nontemporal+0xb8>
jmp    11aa <test_nontemporal+0xaa>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    119b <test_nontemporal+0x9b>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    11dc <test_nontemporal+0xdc>
jmp    11ce <test_nontemporal+0xce>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    11bf <test_nontemporal+0xbf>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    1200 <test_nontemporal+0x100>
jmp    11f2 <test_nontemporal+0xf2>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    11e3 <test_nontemporal+0xe3>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    1224 <test_nontemporal+0x124>
jmp    1216 <test_nontemporal+0x116>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1207 <test_nontemporal+0x107>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    1248 <test_nontemporal+0x148>
jmp    123a <test_nontemporal+0x13a>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    122b <test_nontemporal+0x12b>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    126c <test_nontemporal+0x16c>
jmp    125e <test_nontemporal+0x15e>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    124f <test_nontemporal+0x14f>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    1290 <test_nontemporal+0x190>
jmp    1282 <test_nontemporal+0x182>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1273 <test_nontemporal+0x173>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    12b4 <test_nontemporal+0x1b4>
jmp    12a6 <test_nontemporal+0x1a6>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1297 <test_nontemporal+0x197>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    12d8 <test_nontemporal+0x1d8>
jmp    12ca <test_nontemporal+0x1ca>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    12bb <test_nontemporal+0x1bb>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    12fc <test_nontemporal+0x1fc>
jmp    12ee <test_nontemporal+0x1ee>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    12df <test_nontemporal+0x1df>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    1320 <test_nontemporal+0x220>
jmp    1312 <test_nontemporal+0x212>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1303 <test_nontemporal+0x203>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    1344 <test_nontemporal+0x244>
jmp    1336 <test_nontemporal+0x236>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1327 <test_nontemporal+0x227>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    1368 <test_nontemporal+0x268>
jmp    135a <test_nontemporal+0x25a>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    134b <test_nontemporal+0x24b>
movl   $0x0,-0x10(%rbp)
cmpl   $0xa,-0x10(%rbp)
jge    138c <test_nontemporal+0x28c>
jmp    137e <test_nontemporal+0x27e>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    136f <test_nontemporal+0x26f>
movl   $0x0,-0x14(%rbp)
cmpl   $0xa,-0x14(%rbp)
jge    13b0 <test_nontemporal+0x2b0>
jmp    13a2 <test_nontemporal+0x2a2>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1393 <test_nontemporal+0x293>
movl   $0x0,-0x18(%rbp)
cmpl   $0xa,-0x18(%rbp)
jge    13d4 <test_nontemporal+0x2d4>
jmp    13c6 <test_nontemporal+0x2c6>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    13b7 <test_nontemporal+0x2b7>
movl   $0x0,-0x1c(%rbp)
cmpl   $0xa,-0x1c(%rbp)
jge    13f8 <test_nontemporal+0x2f8>
jmp    13ea <test_nontemporal+0x2ea>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    13db <test_nontemporal+0x2db>
movl   $0x0,-0x20(%rbp)
cmpl   $0xa,-0x20(%rbp)
jge    141c <test_nontemporal+0x31c>
jmp    140e <test_nontemporal+0x30e>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    13ff <test_nontemporal+0x2ff>
pop    %rbp
ret

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

LLVM IR (-O0):
define void @test_nontemporal() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
store i32 0, i32* %1
br label %9
9: ; preds = %13, %0
%10 = load i32, i32* %1
%11 = icmp slt i32 %10, 16
br i1 %11, label %12, label %16
12: ; preds = %9
br label %13
13: ; preds = %12
%14 = load i32, i32* %1
%15 = add nsw i32 %14, 1
store i32 %15, i32* %1
br label %9
16: ; preds = %9
store i32 0, i32* %1
br label %17
17: ; preds = %21, %16
%18 = load i32, i32* %1
%19 = icmp slt i32 %18, 16
br i1 %19, label %20, label %24
20: ; preds = %17
br label %21
21: ; preds = %20
%22 = load i32, i32* %1
%23 = add nsw i32 %22, 1
store i32 %23, i32* %1
br label %17
24: ; preds = %17
store i32 0, i32* %1
br label %25
25: ; preds = %29, %24
%26 = load i32, i32* %1
%27 = icmp slt i32 %26, 16
br i1 %27, label %28, label %32
28: ; preds = %25
br label %29
29: ; preds = %28
%30 = load i32, i32* %1
%31 = add nsw i32 %30, 1
store i32 %31, i32* %1
br label %25
32: ; preds = %25
store i32 0, i32* %1
br label %33
33: ; preds = %37, %32
%34 = load i32, i32* %1
%35 = icmp slt i32 %34, 16
br i1 %35, label %36, label %40
36: ; preds = %33
br label %37
37: ; preds = %36
%38 = load i32, i32* %1
%39 = add nsw i32 %38, 1
store i32 %39, i32* %1
br label %33
40: ; preds = %33
store i32 0, i32* %1
br label %41
41: ; preds = %45, %40
%42 = load i32, i32* %1
%43 = icmp slt i32 %42, 16
br i1 %43, label %44, label %48
44: ; preds = %41
br label %45
45: ; preds = %44
%46 = load i32, i32* %1
%47 = add nsw i32 %46, 1
store i32 %47, i32* %1
br label %41
48: ; preds = %41
store i32 0, i32* %1
br label %49
49: ; preds = %53, %48
%50 = load i32, i32* %1
%51 = icmp slt i32 %50, 16
br i1 %51, label %52, label %56
52: ; preds = %49
br label %53
53: ; preds = %52
%54 = load i32, i32* %1
%55 = add nsw i32 %54, 1
store i32 %55, i32* %1
br label %49
56: ; preds = %49
store i32 0, i32* %1
br label %57
57: ; preds = %61, %56
%58 = load i32, i32* %1
%59 = icmp slt i32 %58, 16
br i1 %59, label %60, label %64
60: ; preds = %57
br label %61
61: ; preds = %60
%62 = load i32, i32* %1
%63 = add nsw i32 %62, 1
store i32 %63, i32* %1
br label %57
64: ; preds = %57
store i32 0, i32* %1
br label %65
65: ; preds = %69, %64
%66 = load i32, i32* %1
%67 = icmp slt i32 %66, 16
br i1 %67, label %68, label %72
68: ; preds = %65
br label %69
69: ; preds = %68
%70 = load i32, i32* %1
%71 = add nsw i32 %70, 1
store i32 %71, i32* %1
br label %65
72: ; preds = %65
store i32 0, i32* %1
br label %73
73: ; preds = %77, %72
%74 = load i32, i32* %1
%75 = icmp slt i32 %74, 16
br i1 %75, label %76, label %80
76: ; preds = %73
br label %77
77: ; preds = %76
%78 = load i32, i32* %1
%79 = add nsw i32 %78, 1
store i32 %79, i32* %1
br label %73
80: ; preds = %73
store i32 0, i32* %1
br label %81
81: ; preds = %85, %80
%82 = load i32, i32* %1
%83 = icmp slt i32 %82, 16
br i1 %83, label %84, label %88
84: ; preds = %81
br label %85
85: ; preds = %84
%86 = load i32, i32* %1
%87 = add nsw i32 %86, 1
store i32 %87, i32* %1
br label %81
88: ; preds = %81
store i32 0, i32* %1
br label %89
89: ; preds = %93, %88
%90 = load i32, i32* %1
%91 = icmp slt i32 %90, 16
br i1 %91, label %92, label %96
92: ; preds = %89
br label %93
93: ; preds = %92
%94 = load i32, i32* %1
%95 = add nsw i32 %94, 1
store i32 %95, i32* %1
br label %89
96: ; preds = %89
store i32 0, i32* %1
br label %97
97: ; preds = %101, %96
%98 = load i32, i32* %1
%99 = icmp slt i32 %98, 16
br i1 %99, label %100, label %104
100: ; preds = %97
br label %101
101: ; preds = %100
%102 = load i32, i32* %1
%103 = add nsw i32 %102, 1
store i32 %103, i32* %1
br label %97
104: ; preds = %97
store i32 0, i32* %1
br label %105
105: ; preds = %109, %104
%106 = load i32, i32* %1
%107 = icmp slt i32 %106, 16
br i1 %107, label %108, label %112
108: ; preds = %105
br label %109
109: ; preds = %108
%110 = load i32, i32* %1
%111 = add nsw i32 %110, 1
store i32 %111, i32* %1
br label %105
112: ; preds = %105
store i32 0, i32* %1
br label %113
113: ; preds = %117, %112
%114 = load i32, i32* %1
%115 = icmp slt i32 %114, 16
br i1 %115, label %116, label %120
116: ; preds = %113
br label %117
117: ; preds = %116
%118 = load i32, i32* %1
%119 = add nsw i32 %118, 1
store i32 %119, i32* %1
br label %113
120: ; preds = %113
store i32 0, i32* %1
br label %121
121: ; preds = %125, %120
%122 = load i32, i32* %1
%123 = icmp slt i32 %122, 16
br i1 %123, label %124, label %128
124: ; preds = %121
br label %125
125: ; preds = %124
%126 = load i32, i32* %1
%127 = add nsw i32 %126, 1
store i32 %127, i32* %1
br label %121
128: ; preds = %121
store i32 0, i32* %1
br label %129
129: ; preds = %133, %128
%130 = load i32, i32* %1
%131 = icmp slt i32 %130, 16
br i1 %131, label %132, label %136
132: ; preds = %129
br label %133
133: ; preds = %132
%134 = load i32, i32* %1
%135 = add nsw i32 %134, 1
store i32 %135, i32* %1
br label %129
136: ; preds = %129
store i32 0, i32* %1
br label %137
137: ; preds = %141, %136
%138 = load i32, i32* %1
%139 = icmp slt i32 %138, 16
br i1 %139, label %140, label %144
140: ; preds = %137
br label %141
141: ; preds = %140
%142 = load i32, i32* %1
%143 = add nsw i32 %142, 1
store i32 %143, i32* %1
br label %137
144: ; preds = %137
store i32 0, i32* %4
br label %145
145: ; preds = %149, %144
%146 = load i32, i32* %4
%147 = icmp slt i32 %146, 10
br i1 %147, label %148, label %152
148: ; preds = %145
br label %149
149: ; preds = %148
%150 = load i32, i32* %4
%151 = add nsw i32 %150, 1
store i32 %151, i32* %4
br label %145
152: ; preds = %145
store i32 0, i32* %5
br label %153
153: ; preds = %157, %152
%154 = load i32, i32* %5
%155 = icmp slt i32 %154, 10
br i1 %155, label %156, label %160
156: ; preds = %153
br label %157
157: ; preds = %156
%158 = load i32, i32* %5
%159 = add nsw i32 %158, 1
store i32 %159, i32* %5
br label %153
160: ; preds = %153
store i32 0, i32* %6
br label %161
161: ; preds = %165, %160
%162 = load i32, i32* %6
%163 = icmp slt i32 %162, 10
br i1 %163, label %164, label %168
164: ; preds = %161
br label %165
165: ; preds = %164
%166 = load i32, i32* %6
%167 = add nsw i32 %166, 1
store i32 %167, i32* %6
br label %161
168: ; preds = %161
store i32 0, i32* %7
br label %169
169: ; preds = %173, %168
%170 = load i32, i32* %7
%171 = icmp slt i32 %170, 10
br i1 %171, label %172, label %176
172: ; preds = %169
br label %173
173: ; preds = %172
%174 = load i32, i32* %7
%175 = add nsw i32 %174, 1
store i32 %175, i32* %7
br label %169
176: ; preds = %169
store i32 0, i32* %8
br label %177
177: ; preds = %181, %176
%178 = load i32, i32* %8
%179 = icmp slt i32 %178, 10
br i1 %179, label %180, label %184
180: ; preds = %177
br label %181
181: ; preds = %180
%182 = load i32, i32* %8
%183 = add nsw i32 %182, 1
store i32 %183, i32* %8
br label %177
184: ; preds = %177
ret void
}

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