[all-commits] [llvm/llvm-project] d71c1d: [flang][NFC] add genType(FunctionRef<T>) entry poi...

jeanPerier via All-commits all-commits at lists.llvm.org
Wed Nov 30 05:45:10 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d71c1de0ffa00a1983c3698e2f1b27a3349483f3
      https://github.com/llvm/llvm-project/commit/d71c1de0ffa00a1983c3698e2f1b27a3349483f3
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

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

  Log Message:
  -----------
  [flang][NFC] add genType(FunctionRef<T>) entry points in lowering

This will help lowering to HLFIR to not use the AsGenericExpr/AsExpr
patterns that copies sub-expresssions into evaluate::SomeExpr so that
they can be passed to helpers. Sub-expressions like FunctionRef can
be heavy (hundreds of arguments, constant array expression arguments...).

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




More information about the All-commits mailing list