[flang-commits] [flang] [flang] Updating drivers to create data layout before semantics (PR #73301)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Fri Nov 24 03:18:38 PST 2023


https://github.com/kiranchandramohan commented:

> Fortran Semantic analysis needs to know about the target type size and alignment to deal with common blocks, and intrinsics like C_SIZEOF/TRANSFER. This information should be obtained from the llvm::DataLayout so that it is consistent during the whole compilation flow.

Is it possible to add a semantics test for this?

https://github.com/llvm/llvm-project/pull/73301


More information about the flang-commits mailing list