llvm-project
c6d770fe - [flang] Fix FIRToMemRef index computation for array_coor with slice and shape_shift (#189496)

Commit
9 days ago
[flang] Fix FIRToMemRef index computation for array_coor with slice and shape_shift (#189496) Use shift instead of sliceLb only when the array_coor has an explicit slice (indicesAreFortran case). When the slice comes from an embox, the indices are 1-based section indices and must subtract 1.
Author
Parents
Loading