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)
    ;
}


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>
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
store i32 0, i32* %1
br label %4
4: ; preds = %8, %0
%5 = load i32, i32* %1
%6 = icmp slt i32 %5, 16
br i1 %6, label %7, label %11
7: ; preds = %4
br label %8
8: ; preds = %7
%9 = load i32, i32* %1
%10 = add nsw i32 %9, 1
store i32 %10, i32* %1
br label %4
11: ; preds = %4
store i32 0, i32* %1
br label %12
12: ; preds = %16, %11
%13 = load i32, i32* %1
%14 = icmp slt i32 %13, 16
br i1 %14, label %15, label %19
15: ; preds = %12
br label %16
16: ; preds = %15
%17 = load i32, i32* %1
%18 = add nsw i32 %17, 1
store i32 %18, i32* %1
br label %12
19: ; preds = %12
store i32 0, i32* %1
br label %20
20: ; preds = %24, %19
%21 = load i32, i32* %1
%22 = icmp slt i32 %21, 16
br i1 %22, label %23, label %27
23: ; preds = %20
br label %24
24: ; preds = %23
%25 = load i32, i32* %1
%26 = add nsw i32 %25, 1
store i32 %26, i32* %1
br label %20
27: ; preds = %20
store i32 0, i32* %1
br label %28
28: ; preds = %32, %27
%29 = load i32, i32* %1
%30 = icmp slt i32 %29, 16
br i1 %30, label %31, label %35
31: ; preds = %28
br label %32
32: ; preds = %31
%33 = load i32, i32* %1
%34 = add nsw i32 %33, 1
store i32 %34, i32* %1
br label %28
35: ; preds = %28
store i32 0, i32* %1
br label %36
36: ; preds = %40, %35
%37 = load i32, i32* %1
%38 = icmp slt i32 %37, 16
br i1 %38, label %39, label %43
39: ; preds = %36
br label %40
40: ; preds = %39
%41 = load i32, i32* %1
%42 = add nsw i32 %41, 1
store i32 %42, i32* %1
br label %36
43: ; preds = %36
store i32 0, i32* %1
br label %44
44: ; preds = %48, %43
%45 = load i32, i32* %1
%46 = icmp slt i32 %45, 16
br i1 %46, label %47, label %51
47: ; preds = %44
br label %48
48: ; preds = %47
%49 = load i32, i32* %1
%50 = add nsw i32 %49, 1
store i32 %50, i32* %1
br label %44
51: ; preds = %44
store i32 0, i32* %1
br label %52
52: ; preds = %56, %51
%53 = load i32, i32* %1
%54 = icmp slt i32 %53, 16
br i1 %54, label %55, label %59
55: ; preds = %52
br label %56
56: ; preds = %55
%57 = load i32, i32* %1
%58 = add nsw i32 %57, 1
store i32 %58, i32* %1
br label %52
59: ; preds = %52
store i32 0, i32* %1
br label %60
60: ; preds = %64, %59
%61 = load i32, i32* %1
%62 = icmp slt i32 %61, 16
br i1 %62, label %63, label %67
63: ; preds = %60
br label %64
64: ; preds = %63
%65 = load i32, i32* %1
%66 = add nsw i32 %65, 1
store i32 %66, i32* %1
br label %60
67: ; preds = %60
store i32 0, i32* %1
br label %68
68: ; preds = %72, %67
%69 = load i32, i32* %1
%70 = icmp slt i32 %69, 16
br i1 %70, label %71, label %75
71: ; preds = %68
br label %72
72: ; preds = %71
%73 = load i32, i32* %1
%74 = add nsw i32 %73, 1
store i32 %74, i32* %1
br label %68
75: ; preds = %68
store i32 0, i32* %1
br label %76
76: ; preds = %80, %75
%77 = load i32, i32* %1
%78 = icmp slt i32 %77, 16
br i1 %78, label %79, label %83
79: ; preds = %76
br label %80
80: ; preds = %79
%81 = load i32, i32* %1
%82 = add nsw i32 %81, 1
store i32 %82, i32* %1
br label %76
83: ; preds = %76
store i32 0, i32* %1
br label %84
84: ; preds = %88, %83
%85 = load i32, i32* %1
%86 = icmp slt i32 %85, 16
br i1 %86, label %87, label %91
87: ; preds = %84
br label %88
88: ; preds = %87
%89 = load i32, i32* %1
%90 = add nsw i32 %89, 1
store i32 %90, i32* %1
br label %84
91: ; preds = %84
store i32 0, i32* %1
br label %92
92: ; preds = %96, %91
%93 = load i32, i32* %1
%94 = icmp slt i32 %93, 16
br i1 %94, label %95, label %99
95: ; preds = %92
br label %96
96: ; preds = %95
%97 = load i32, i32* %1
%98 = add nsw i32 %97, 1
store i32 %98, i32* %1
br label %92
99: ; preds = %92
store i32 0, i32* %1
br label %100
100: ; preds = %104, %99
%101 = load i32, i32* %1
%102 = icmp slt i32 %101, 16
br i1 %102, label %103, label %107
103: ; preds = %100
br label %104
104: ; preds = %103
%105 = load i32, i32* %1
%106 = add nsw i32 %105, 1
store i32 %106, i32* %1
br label %100
107: ; preds = %100
store i32 0, i32* %1
br label %108
108: ; preds = %112, %107
%109 = load i32, i32* %1
%110 = icmp slt i32 %109, 16
br i1 %110, label %111, label %115
111: ; preds = %108
br label %112
112: ; preds = %111
%113 = load i32, i32* %1
%114 = add nsw i32 %113, 1
store i32 %114, i32* %1
br label %108
115: ; preds = %108
store i32 0, i32* %1
br label %116
116: ; preds = %120, %115
%117 = load i32, i32* %1
%118 = icmp slt i32 %117, 16
br i1 %118, label %119, label %123
119: ; preds = %116
br label %120
120: ; preds = %119
%121 = load i32, i32* %1
%122 = add nsw i32 %121, 1
store i32 %122, i32* %1
br label %116
123: ; preds = %116
store i32 0, i32* %1
br label %124
124: ; preds = %128, %123
%125 = load i32, i32* %1
%126 = icmp slt i32 %125, 16
br i1 %126, label %127, label %131
127: ; preds = %124
br label %128
128: ; preds = %127
%129 = load i32, i32* %1
%130 = add nsw i32 %129, 1
store i32 %130, i32* %1
br label %124
131: ; preds = %124
store i32 0, i32* %1
br label %132
132: ; preds = %136, %131
%133 = load i32, i32* %1
%134 = icmp slt i32 %133, 16
br i1 %134, label %135, label %139
135: ; preds = %132
br label %136
136: ; preds = %135
%137 = load i32, i32* %1
%138 = add nsw i32 %137, 1
store i32 %138, i32* %1
br label %132
139: ; preds = %132
ret void
}

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