llvm/flang/lib
Jean Perier 0601a0dc01 [flang] Fix fir.embox codegen with constant interior shape
Fix https://github.com/flang-compiler/f18-llvm-project/issues/1416.

The `constRows` variable was being decremented too soon, causing the
last constant interior dimension extent being used to multiply the GEP
offset. This lead to wrong address computation and caused segfaults.

Note: also upstream fir.embox tests that can be upstreamed.

Differential Revision: https://reviews.llvm.org/D123130
2022-04-05 17:27:03 +02:00
..
Common
Decimal
Evaluate [flang] Fold instantiated PDT character component length when needed 2022-04-04 09:47:15 +02:00
Frontend [flang][cmake] Make CMake copy "omp_lib.h" into the build directory 2022-04-05 08:25:26 +00:00
FrontendTool [flang][driver] Add support for -mllvm 2022-03-16 10:41:04 +00:00
Lower [flang][OpenMP] Added parallel sections translation 2022-03-29 11:16:38 +05:30
Optimizer [flang] Fix fir.embox codegen with constant interior shape 2022-04-05 17:27:03 +02:00
Parser [flang] Skip D when including D debug line 2022-03-31 10:56:25 +02:00
Semantics [flang] Add one semantic check for allocatable/pointer argument association 2022-04-04 23:16:30 +08:00
CMakeLists.txt