[clang] [OpenMP] Introduce support for OMPX extensions and taskgraph frontend (PR #66919)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 20 09:58:13 PDT 2023


================
@@ -12156,6 +12224,12 @@ void CGOpenMPSIMDRuntime::emitTaskwaitCall(CodeGenFunction &CGF,
   llvm_unreachable("Not supported in SIMD-only mode");
 }
 
+void CGOpenMPSIMDRuntime::emitTaskgraphCall(CodeGenFunction &CGF,
+                                            SourceLocation Loc,
+                                            const OMPExecutableDirective &D) {
+  llvm_unreachable("Not supported in SIMD-only mode");
+}
+
----------------
alexey-bataev wrote:

You also need to extend simd only mode to ignore this directive, otherwise the compiler will crash here

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


More information about the cfe-commits mailing list