================ @@ -184,7 +196,7 @@ __kmpc_parallel_51(IdentTy *ident, int32_t, int32_t if_expr, // set, but they do not have individual ThreadStates yet. If they ever // modify the ICVs beyond this point a ThreadStates will be allocated. - bool IsActiveParallelRegion = NumThreads > 1; + bool IsActiveParallelRegion = NumThreads*mapping::getSimdLen() > 1; ---------------- jdoerfert wrote:
Why is this multiplied with the simd len here? https://github.com/llvm/llvm-project/pull/91261 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits