[all-commits] [llvm/llvm-project] ad40cc: [flang] Lower basic function with scalar integer/l...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Feb 14 12:32:42 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad40cc14a8b728dedc20c9397489bda50185b176
      https://github.com/llvm/llvm-project/commit/ad40cc14a8b728dedc20c9397489bda50185b176
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M flang/include/flang/Lower/CallInterface.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/CallInterface.cpp
    M flang/lib/Lower/ConvertType.cpp
    A flang/test/Lower/basic-function.f90

  Log Message:
  -----------
  [flang] Lower basic function with scalar integer/logical return value

This patch allows the lowring of simple empty function with a
scalar integer or logical return value.
The code in ConvertType.cpp is cleaned up as well. This file was landed
together with the initial flang push and lowering was still a prototype
at that time. Some more cleaning will come with follow up patches.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: PeteSteinfeld

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

Co-authored-by: Jean Perier <jperier at nvidia.com>




More information about the All-commits mailing list