[flang-commits] [flang] [Flang] Add opt-in affine loop optimization pipeline (PR #191854)
Jason Van Beusekom via flang-commits
flang-commits at lists.llvm.org
Wed Apr 15 09:35:18 PDT 2026
Jason-Van-Beusekom wrote:
I'm not sure how experimental this PR is supposed to be, but I am unable to compile a simple test program with an If statement:
``` fortran
program r
integer :: n = 1
if (n > 0) n = 2
end program r
```
``` bash
flang minimal.f90
flang -mllvm --enable-affine-loop-opt minimal.f90
loc("~/minimal.f90":5:3): error: error in fetching if analysis in AffineFunctionAnalysis
```
https://github.com/llvm/llvm-project/pull/191854
More information about the flang-commits
mailing list