[PATCH] D106896: [flang][OpenMP] Add parsing support for nontemporal clause.

Arnamoy B via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 27 16:48:14 PDT 2021


arnamoy10 added inline comments.


================
Comment at: flang/lib/Parser/openmp-parsers.cpp:210
+    "NONTEMPORAL" >> construct<OmpClause>(construct<OmpClause::Nontemporal>(
+                         parenthesized(Parser<OmpNontemporalClause>{}))) ||
     "NOTINBRANCH" >>
----------------
clementval wrote:
> 
Thank you.  With your suggested change, I do not get error while building the compiler, but I get the following error while running `-fopenmp -fsyntax-only` on the examples I provide.  Here is the error:

```
 error: Internal: no symbol found for 'a'
 !$omp target teams distribute simd nontemporal(a)
                                                   ^
```

What am I missing here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106896/new/

https://reviews.llvm.org/D106896



More information about the llvm-commits mailing list