[flang-commits] [flang] [flang] Add parsing-support for IVDEP directive (PR #101045)

Mats Petersson via flang-commits flang-commits at lists.llvm.org
Tue Jul 30 07:47:14 PDT 2024


================
@@ -1266,12 +1266,15 @@ TYPE_PARSER(construct<StatOrErrmsg>("STAT =" >> statVariable) ||
 // Directives, extensions, and deprecated statements
 // !DIR$ IGNORE_TKR [ [(tkrdmac...)] name ]...
 // !DIR$ LOOP COUNT (n1[, n2]...)
+// !DIR$ IVDEP
 // !DIR$ name[=value] [, name[=value]]...
 // !DIR$ <anything else>
 constexpr auto ignore_tkr{
     "IGNORE_TKR" >> optionalList(construct<CompilerDirective::IgnoreTKR>(
                         maybe(parenthesized(many(letter))), name))};
-constexpr auto loopCount{
+constexpr auto ignore_vector_dep{
----------------
Leporacanthicus wrote:

I will fix the `ignore_tkr` -> `ignoreTkr` (or `ingoreTKR`) in a follow up commit. 

https://github.com/llvm/llvm-project/pull/101045


More information about the flang-commits mailing list