[flang-commits] [flang] [flang][FIRToSCF] Recompute a typed induction variable in closed form (PR #217051)

via flang-commits flang-commits at lists.llvm.org
Tue Aug 18 10:35:57 PDT 2026


khaki3 wrote:

>how this affects performance of the benchmarks?

fir-to-scf is an independent pass, which is not directly used in the flang pipeline. When I added a similar change to Bridge.cpp, I didn't see performance degradation. I've set the same nsw flag. https://github.com/llvm/llvm-project/pull/207816#issuecomment-5008450778

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


More information about the flang-commits mailing list