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

via flang-commits flang-commits at lists.llvm.org
Fri Nov 24 06:25:09 PST 2023


jeanPerier wrote:

> CI seems to be failing while building the compiler

Thanks, should be fixed.

> Is it possible to add a semantics test for this?

No because the functional change to fill the SemanticsContext.targetCharacteristics from the TargetMachine is not part of this change, it is left TODO here: https://github.com/llvm/llvm-project/pull/73301/files#diff-74352fcca4246990c7d9ce870cefdb335412f10f045e0175ef242cbc79564f2eR37

The current patch only ensures the TargetMachine is created before setting up the SemanticsContext.targetCharacteristics in the drivers and that the llvm::DataLayout and its MLIR equivalent are always available during lowering/codegen.


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


More information about the flang-commits mailing list