[clang] [llvm] [OpenMP][clang] Set num_threads 'strict' to unsupported on GPUs (PR #160659)

Robert Imschweiler via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 23 00:58:18 PDT 2025


================
@@ -2727,13 +2730,15 @@ CGOpenMPRuntime::emitSeverityClause(OpenMPSeverityClauseKind Severity) {
 llvm::Value *
 CGOpenMPRuntime::emitSeverityClause(const OMPSeverityClause *SeverityClause) {
   return emitSeverityClause(SeverityClause ? SeverityClause->getSeverityKind()
-                                           : OMPC_SEVERITY_unknown);
+                                           : OMPC_SEVERITY_unknown,
+                            SeverityClause->getBeginLoc());
----------------
ro-i wrote:

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

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


More information about the llvm-commits mailing list