[all-commits] [llvm/llvm-project] 5eca6a: [fir] Use contralized values for indexing box

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Nov 10 06:35:36 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5eca6ad75274115571a6ded7bd014de534a92067
      https://github.com/llvm/llvm-project/commit/5eca6ad75274115571a6ded7bd014de534a92067
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2021-11-10 (Wed, 10 Nov 2021)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/TypeConverter.h

  Log Message:
  -----------
  [fir] Use contralized values for indexing box

Add constant to index the different values in a box so that
they can be reused for the codegen part as well.

Reviewed By: awarzynski

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


  Commit: df3b9810c790cb0bfe1a8012ce4cecdfea3c99e3
      https://github.com/llvm/llvm-project/commit/df3b9810c790cb0bfe1a8012ce4cecdfea3c99e3
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2021-11-10 (Wed, 10 Nov 2021)

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

  Log Message:
  -----------
  [fir] Add fir.box_rank, fir.box_addr, fir.box_dims and fir.box_elesize conversion

This patch adds conversion for basic box operations that extract
information from the box.

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

Reviewed By: awarzynski

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

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


Compare: https://github.com/llvm/llvm-project/compare/5840f7197d05...df3b9810c790


More information about the All-commits mailing list