[all-commits] [llvm/llvm-project] c85217: [flang] add fir.declare codegen support

jeanPerier via All-commits all-commits at lists.llvm.org
Thu Oct 20 01:18:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c852174a4935debc6d724dd057c4955678e12117
      https://github.com/llvm/llvm-project/commit/c852174a4935debc6d724dd057c4955678e12117
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2022-10-20 (Thu, 20 Oct 2022)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
    A flang/test/Fir/declare-codegen.fir

  Log Message:
  -----------
  [flang] add fir.declare codegen support

For now, nothing is done about debug info and the fir.declare is simply
replaced by the memref argument. This is done in the PreCGRewrite in
order to avoid requiring adding support for fir.shape codegen, which
would still be useless and undesired at that point.

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




More information about the All-commits mailing list