[all-commits] [llvm/llvm-project] a7bbbc: [flang] Add getTypeAsString function to create sym...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon May 22 09:51:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7bbbc59afe5c4ae2acbb10cd335c0d46cbf1d0f
      https://github.com/llvm/llvm-project/commit/a7bbbc59afe5c4ae2acbb10cd335c0d46cbf1d0f
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIRType.h
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    M flang/unittests/Optimizer/FIRTypesTest.cpp

  Log Message:
  -----------
  [flang] Add getTypeAsString function to create symbols

This patch adds a common function to get a string representation
of a FIR type. This will be useful to generate couple of
operations like the acc.private.recipe, acc.firstprivate.recipe
and the acc.reduction.recipe

Reviewed By: razvanlupusoru

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




More information about the All-commits mailing list