[all-commits] [llvm/llvm-project] 811810: [Flang][Driver]Add datalayout before doing LLVM-IR...

Mats Petersson via All-commits all-commits at lists.llvm.org
Thu Nov 3 05:16:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81181089c6d835f2f506bb125bb81ab5d397e3d6
      https://github.com/llvm/llvm-project/commit/81181089c6d835f2f506bb125bb81ab5d397e3d6
  Author: Mats Petersson <mats.petersson at arm.com>
  Date:   2022-11-03 (Thu, 03 Nov 2022)

  Changed paths:
    M flang/include/flang/Frontend/FrontendActions.h
    M flang/include/flang/Optimizer/Support/InitFIR.h
    M flang/lib/Frontend/CMakeLists.txt
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/test/Driver/emit-llvm.f90
    M flang/test/Driver/emit-mlir.f90
    M flang/test/Driver/pic-flags.f90
    M flang/unittests/Frontend/FrontendActionTest.cpp

  Log Message:
  -----------
  [Flang][Driver]Add datalayout before doing LLVM-IR transformation

The earlier available datalyaout allows MLIR to LLVM-IR transformation
to use the datalayout for decisions, such as comparing sizes for
different types of integers.

This should solve https://github.com/llvm/llvm-project/issues/57230

Reviewed By: awarzynski, vzakhari

Differential Revision: https://reviews.llvm.org/D133568




More information about the All-commits mailing list