[clang] [clang][OpenMP] Fix APSInt bit-width mismatch in ordered depend/doacross check (PR #238672)

Pranjal Srivastava via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 5 19:58:55 PST 2026


ipranjalks wrote:

Thanks @Sirraide. I have updated the code and moved DepCounter's initialization after `TotalDepCount` is evaluated so it uses `TotalDepCount.getBitWidth()` directly and keeps `DepCounter >= TotalDepCount` as an exact-width APSInt comparison.

https://github.com/llvm/llvm-project/pull/238672


More information about the cfe-commits mailing list