[flang-commits] [flang] [flang][CodeGen] add nsw to address calculations (PR #74709)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Fri Dec 8 08:54:15 PST 2023


klausler wrote:

I don't know what "nsw" means, but will just add a reminder that Fortran DO loop iteration counts are calculated before the loop starts.  Don't use the current value of the DO loop index variable for loop termination testing -- just increment it each time around.

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


More information about the flang-commits mailing list