[all-commits] [llvm/llvm-project] 65431d: [fir] TargetRewrite: Rewrite COMPLEX values

Diana via All-commits all-commits at lists.llvm.org
Tue Nov 9 01:27:43 PST 2021


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

  Changed paths:
    M flang/include/flang/Optimizer/CodeGen/CGPasses.td
    M flang/include/flang/Optimizer/CodeGen/CodeGen.h
    M flang/include/flang/Optimizer/Dialect/FIRTypes.td
    M flang/lib/Optimizer/CodeGen/Target.cpp
    M flang/lib/Optimizer/CodeGen/Target.h
    M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
    A flang/test/Fir/target-rewrite-boxchar.fir
    A flang/test/Fir/target-rewrite-complex.fir
    R flang/test/Fir/target.fir

  Log Message:
  -----------
  [fir] TargetRewrite: Rewrite COMPLEX values

Rewrite function signatures and calls to functions that accept or return
COMPLEX values.

Also teach insert_value and extract_value about the MLIR ComplexType, by
adding AnyComplex to AnyCompositeLike.

This patch is part of the effort for upstreaming the fir-dev branch.

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

Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>
Co-authored-by: Kiran Chandramohan <kiran.chandramohan at arm.com>
Co-authored-by: Tim Keith <tkeith at nvidia.com>
Co-authored-by: Jean Perier <jperier at nvidia.com>




More information about the All-commits mailing list