================
@@ -23730,14 +23730,14 @@ ProcessOpenMPDoacrossClauseCommon(Sema &SemaRef, bool
IsSource,
SmallVector<Expr *, 8> Vars;
DSAStackTy::OperatorOffsetTy OpsOffs;
- llvm::APSInt DepCounter(/*BitWidth=*/32);
llvm::APSInt TotalDepCount(/*BitWidth=*/32);
if (const Expr *OrderedCountExpr =
Stack->getParentOrderedRegionParam().first) {
TotalDepCount = OrderedCountExpr->EvaluateKnownConstInt(SemaRef.Context);
TotalDepCount.setIsUnsigned(/*Val=*/true);
}
+ llvm::APSInt DepCounter(TotalDepCount.getBitWidth());
----------------
ipranjalks wrote:
Updated the code with `isUnsigned = true`.
https://github.com/llvm/llvm-project/pull/238672
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits