llvm-project/flang/test/Lower/forall
Slava Zakharin 02f3fec391 [flang] Compute type allocation size based on the actual target representation.
This change makes sure that we compute the element size and the byte stride
based on the target representation of the element type.

For example, when REAL*10 is mapped to x86_fp80 each element occupies
16 bytes rather than 10 because of the padding.

Note that the size computation method used here actually returns
the distance between two adjacent element of the *same* type in memory
(which is equivalent to llvm::DataLayout::getTypeAllocSize()).
It does not return the number of bytes that may be overwritten
by storing a value of the specified type (e.g. what can be computed
via llvm::DataLayout::getTypeStoreSize(), but not available in
mlir::DataLayout).

Differential Revision: https://reviews.llvm.org/D133508
2022-09-09 08:39:15 -07:00
..
array-constructor.f90 [flang] Make sure dynamic extents and length are rounded to 0 if negative 2022-08-18 20:23:20 +02:00
array-pointer.f90 Upstream support for POINTER assignment in FORALL. 2022-05-06 19:52:47 -07:00
array-subscripts.f90
character-1.f90 [flang] Compute type allocation size based on the actual target representation. 2022-09-09 08:39:15 -07:00
degenerate.f90 [flang] Make sure that conversions are applied in FORALL degenerate contexts 2022-06-28 15:24:55 +02:00
forall-2.f90 Fixes a performance problem with lowering of forall loops and creating 2022-05-12 08:11:58 -07:00
forall-allocatable-2.f90
forall-allocatable.f90
forall-array.f90
forall-construct-2.f90 Fixes a performance problem with lowering of forall loops and creating 2022-05-12 08:11:58 -07:00
forall-construct-3.f90 Fixes a performance problem with lowering of forall loops and creating 2022-05-12 08:11:58 -07:00
forall-construct-4.f90 [flang] Fix semantic analysis for "forall" targeted by "label" 2022-04-09 00:27:53 +08:00
forall-construct.f90 Fixes a performance problem with lowering of forall loops and creating 2022-05-12 08:11:58 -07:00
forall-ranked.f90 Fixes a performance problem with lowering of forall loops and creating 2022-05-12 08:11:58 -07:00
forall-slice.f90 Fixes a performance problem with lowering of forall loops and creating 2022-05-12 08:11:58 -07:00
forall-stmt.f90
forall-where-2.f90 [flang] Add lowering tests 2022-06-28 15:22:21 +02:00
forall-where.f90
scalar-substring.f90 [flang] Fix forall issue with substring operation 2022-06-24 09:07:49 +02:00
test9.f90 Fixes a performance problem with lowering of forall loops and creating 2022-05-12 08:11:58 -07:00