Closed jeanPerier closed 2 years ago
Do not use the shift of a fir.embox to set lower bounds if there is an array section. This matches Fortran semantics where lower bounds of array sections are ones. The shift is needed/used in the array section base address computation.
Updated the comment and commit message to talk about fir.slice instead if array section when talking about fir.embox,
Do not use the shift of a fir.embox to set lower bounds if there is an array section. This matches Fortran semantics where lower bounds of array sections are ones. The shift is needed/used in the array section base address computation.