================ @@ -78,10 +78,7 @@ void foo(void) { for (int i = 0; i < 16; i++) ; -#pragma omp metadirective when(user = {condition(0)} \ - : parallel for) otherwise() - for (int i=0; i<10; i++) - ; + ---------------- ravurvi20 wrote:
Since for versions prior to 5.2 default is valid so moved it in a way that if the version is 5.2 or greater otherwise condition should run else the default condition. https://github.com/llvm/llvm-project/pull/128640 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits