================
@@ -108,6 +108,12 @@ void foo1(void) {
                                                    : parallel) 
otherwise(parallel for)
   for (int i=0; i<10; i++)
     ;
+
+#pragma omp metadirective when(user = {condition(1)}              \
+                               : parallel for) when(implementation = 
{extension(match_none)} \
+                                                    : parallel)
+  for (int i=0; i<10; i++)
+    ;
----------------
zahiraam wrote:

The LIT test is passing even without your change above. It needs a bit more 
work. Furthermore your patch doesn't seem to be enough. The reproducer in 
https://github.com/llvm/llvm-project/issues/147336 is still failing with your 
patch.  

https://github.com/llvm/llvm-project/pull/148583
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to