[all-commits] [llvm/llvm-project] a2e7af: [fir] Add utility function to FIRBuilder and Mutab...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Oct 22 01:01:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2e7af75166dd840a7537aab29099d666296a7b3
      https://github.com/llvm/llvm-project/commit/a2e7af75166dd840a7537aab29099d666296a7b3
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
    M flang/include/flang/Lower/FIRBuilder.h
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    A flang/include/flang/Optimizer/Builder/MutableBox.h
    M flang/lib/Optimizer/Builder/CMakeLists.txt
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    A flang/lib/Optimizer/Builder/MutableBox.cpp
    M flang/unittests/Optimizer/Builder/FIRBuilderTest.cpp

  Log Message:
  -----------
  [fir] Add utility function to FIRBuilder and MutableBox

This patch is extracted from D111337 to make is smaller.
It introduce utility functions to the FIRBuilder and add the MutableBox
files.

- genShape
- readCharLen
- getExtents

Reviewed By: kiranchandramohan

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

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




More information about the All-commits mailing list