[flang-commits] [flang] [flang][OpenMP] Fold canonical loop trip counts during lowering (PR #215238)

Sairudra More via flang-commits flang-commits at lists.llvm.org
Mon Aug 10 05:39:56 PDT 2026


https://github.com/Saieiei approved this pull request.

Non-blocking: Could we add coverage for an `integer(8)` induction variable with default-kind bounds, such as `do i = 1, 100`? The bounds pass through `fir.convert`, which seems to prevent `createOrFold` from folding the trip-count prologue. Is that expected for this change, or should these constant conversions fold as well?

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


More information about the flang-commits mailing list