forked from OSchip/llvm-project
c099ca4e45
This patch allows: - fir.box type to be a member of tuple<> or fir.type<> types, - tuple<> type to be a member of tuple<> type. When a fir.box types are nested in tuple<> or fir.type<>, it is translated to the struct type of a Fortran runtime descriptor, and not a pointer to a descriptor. This is because the fir.box is owned by the tuple or fir.type. FIR type translation was also flattening nested tuple while lowering to LLVM dialect types. There does not seem to be a deep reason for doing that and doing it causes issues in fir.coordinate_of generated on such tuple (a fir.coordinate_of getting tuple<B, C> in tuple<A, tuple<B, C>> ended-up lowered to an LLVM GEP getting B). Differential Revision: https://reviews.llvm.org/D118701 |
||
---|---|---|
.. | ||
Driver | ||
Evaluate | ||
Examples | ||
Fir | ||
Frontend | ||
Lower | ||
NonGtestUnit | ||
Parser | ||
Preprocessing | ||
Runtime | ||
Semantics | ||
Unit | ||
CMakeLists.txt | ||
lit.cfg.py | ||
lit.site.cfg.py.in |