[all-commits] [llvm/llvm-project] a63f57: [flang][NFC] Fix header comments in some runtime h...

jeanPerier via All-commits all-commits at lists.llvm.org
Thu Sep 30 23:47:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a63f57674d511eb287edbabad9674c6298cf8b84
      https://github.com/llvm/llvm-project/commit/a63f57674d511eb287edbabad9674c6298cf8b84
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M flang/include/flang/Runtime/magic-numbers.h

  Log Message:
  -----------
  [flang][NFC] Fix header comments in some runtime headers


  Commit: 2c1ce0755e09909c41db93845c4c3f42457cb9c8
      https://github.com/llvm/llvm-project/commit/2c1ce0755e09909c41db93845c4c3f42457cb9c8
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M flang/cmake/modules/AddFlang.cmake
    M flang/runtime/CMakeLists.txt
    A flang/runtime/Fortran_main.c

  Log Message:
  -----------
  [flang] Add a wrapper for Fortran main program

Add a C wrapper that calls the Fortran runtime initialization and
finalization routines as well as the compiled Fortran main program
_QQmain.

Place it in its own library to satisfy shared library builds since it
contains a C main function.

- https://github.com/flang-compiler/f18-llvm-project/commit/cc7ac498f916d32a9b197d3ace816f4de5d36aad#diff-fa35a5efa62731fd2845e5e982eca9a2e36439783e11a4e4a463753c2160ec10R53
- was created in flang/test/Examples/main.c in Eric's branch


  Commit: b0e35fde21ecb47799603e1acfc9ffa7b83dea13
      https://github.com/llvm/llvm-project/commit/b0e35fde21ecb47799603e1acfc9ffa7b83dea13
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M flang/lib/Evaluate/expression.cpp

  Log Message:
  -----------
  [flang][NFC] Add debug dump method to evaluate::Expr and semantics::Symbol

Helps debugging when working with symbol/expression issue. The dump
method is easy to call in the debugger.


  Commit: b7c07ce15ffe6da9dcd69d457a3eca987452edc7
      https://github.com/llvm/llvm-project/commit/b7c07ce15ffe6da9dcd69d457a3eca987452edc7
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M flang/include/flang/Evaluate/pgmath.h.inc
    M flang/lib/Evaluate/CMakeLists.txt
    M flang/lib/Lower/RTBuilder.h
    M flang/unittests/CMakeLists.txt
    A flang/unittests/Lower/CMakeLists.txt
    A flang/unittests/Lower/RTBuilder.cpp

  Log Message:
  -----------
  [flang] Improve runtime interface with C99 complex

Follow up of https://reviews.llvm.org/D83397.

In folding, make pgmath usage conditional to C99 complex
support in C++. Disable warning in such case.

In lowering, use an empty class type to indicate C99 complex
type in runtime interface.

Add a unit test enforcing C99 complex can be processed
by FIR runtime interface builder.

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


Compare: https://github.com/llvm/llvm-project/compare/d047368149dc...b7c07ce15ffe


More information about the All-commits mailing list