[PATCH] D119698: [flang] Lower basic function with scalar integer return value

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 14 02:18:59 PST 2022


clementval created this revision.
clementval added reviewers: jeanPerier, kiranchandramohan, PeteSteinfeld, schweitz, svedanayagam.
Herald added a reviewer: sscalpone.
Herald added a subscriber: mehdi_amini.
Herald added a project: Flang.
clementval requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

This patch allows the lowring of simple empty function with a
scalar integer 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.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119698

Files:
  flang/include/flang/Lower/CallInterface.h
  flang/lib/Lower/Bridge.cpp
  flang/lib/Lower/CallInterface.cpp
  flang/lib/Lower/ConvertType.cpp
  flang/test/Lower/basic-function.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119698.408357.patch
Type: text/x-patch
Size: 29246 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220214/7a5d068f/attachment.bin>


More information about the llvm-commits mailing list