================
@@ -2593,6 +2623,9 @@ std::optional<MetadirectiveCandidateSet> 
BuildMetadirectiveCandidateSet(
       llvm::omp::VariantMatchInfo rawVMI;
       std::optional<DynamicUserCondition> dynamicCondition{
           MakeVariantMatchInfo(rawVMI, *ctxSel, context)};
+      // An omitted directive is ranked without its condition.
+      if (dynamicCondition && isExplicit)
----------------
MattPD wrote:

I confirmed that the false-`a` regression is fixed. The true-`a` path still 
emits TASKWAIT.

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

Reply via email to