[all-commits] [llvm/llvm-project] c8517f: [flang] Add support for dense complex constants

Leandro Lupori via All-commits all-commits at lists.llvm.org
Wed Aug 30 06:52:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8517f17525e641432b916defb2aa94077bf1b09
      https://github.com/llvm/llvm-project/commit/c8517f17525e641432b916defb2aa94077bf1b09
  Author: Leandro Lupori <leandro.lupori at linaro.org>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M flang/lib/Lower/ConvertConstant.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/test/Lower/array.f90

  Log Message:
  -----------
  [flang] Add support for dense complex constants

Add support for representing complex array constants with MLIR
dense attribute. This improves compile time and greatly reduces
memory usage of programs with large complex array constants.

Fixes https://github.com/llvm/llvm-project/issues/63610

Reviewed By: vzakhari

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




More information about the All-commits mailing list