Files
clang-p2996/flang/lib/Optimizer/Transforms/LoopVersioning.cpp
Slava Zakharin 3e47e75feb [flang] Use DataLayout for computing type size in LoopVersioning. (#79778)
The existing type size computation in LoopVersioning does not work
for REAL*10, because the compute element size is 10 bytes,
which violates the power-of-two assertion.
We'd better use the DataLayout for computing the storage size
of each element of an array of the given type.
2024-01-29 09:14:47 -08:00

22 KiB