================
@@ -946,6 +946,21 @@ bool clang::isOpenMPOrderConcurrentNestableDirective(
   return false;
 }
 
+bool clang::isOpenMPSimdizableDirective(OpenMPDirectiveKind DKind,
+                                        const LangOptions &LangOpts) {
+  // Directives that may be encountered during execution of a simd region are:
----------------
alexey-bataev wrote:

```suggestion
  if (DKind == OMPD_loop) // binding region undefined: bind(thread)
    return BindKind == OMPC_BIND_thread;
  // Directives that may be encountered during execution of a simd region are:
```

https://github.com/llvm/llvm-project/pull/231852
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to