[all-commits] [llvm/llvm-project] fedc54: [flang] Add genEval to the AbstractConverter (#75140)

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Dec 14 09:25:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fedc54bf35b378ab3418ba0f36c1df476aef5aca
      https://github.com/llvm/llvm-project/commit/fedc54bf35b378ab3418ba0f36c1df476aef5aca
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    M flang/include/flang/Lower/AbstractConverter.h
    M flang/lib/Lower/Bridge.cpp

  Log Message:
  -----------
  [flang] Add genEval to the AbstractConverter (#75140)

There was some discussion on discourse[1] about allowing call to FIR
generation functions from other part of lowering belonging to OpenMP.

This solution exposes a simple `genEval` member function on the
`AbstractConverter` so that IR generation for PFT Evaluation objects can
be called from lowering outside of the FirConverter but not exposing it.

[1] https://discourse.llvm.org/t/openmp-lowering-from-pft-to-fir/75263




More information about the All-commits mailing list