[flang-commits] [flang] [FIRToMemRef] Fix wrong indexing for converted array_coor over sliced fir.embox (PR #207749)

via flang-commits flang-commits at lists.llvm.org
Wed Jul 8 04:57:00 PDT 2026


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

@ergawy, I am approving since the problem that I highlighted in my comment is a pre-existing problem and I am not sure if it can be produced from Fortran so I do not want to block a fix for real issues.

However, I think we should have an action to decorrelate the folding of fir.embox+fir.array_coor with slices from the translation to memref.  @SusanTan for opinions.

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


More information about the flang-commits mailing list