[all-commits] [llvm/llvm-project] 1e6d9c: [fir] Add !fir.alloca conversion

Diana via All-commits all-commits at lists.llvm.org
Thu Nov 11 03:28:09 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e6d9c06a5d20b65499b74a891a0e79cada3803e
      https://github.com/llvm/llvm-project/commit/1e6d9c06a5d20b65499b74a891a0e79cada3803e
  Author: Diana Picus <diana.picus at linaro.org>
  Date:   2021-11-11 (Thu, 11 Nov 2021)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/CodeGen/TypeConverter.h
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/test/Fir/convert-to-llvm.fir

  Log Message:
  -----------
  [fir] Add !fir.alloca conversion

Convert !fir.alloca into !llvm.alloca.

This also contains a fix for verifyInType in FIROps.cpp, to make sure we
can handle a !fir.ptr<!fir.array<?xN>>.

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

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




More information about the All-commits mailing list