[all-commits] [llvm/llvm-project] 4bb9d2: [flang] Add hlfir.designate definition

jeanPerier via All-commits all-commits at lists.llvm.org
Thu Nov 17 23:42:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bb9d28cc48f9f2dc46222a55b102d69a51170e6
      https://github.com/llvm/llvm-project/commit/4bb9d28cc48f9f2dc46222a55b102d69a51170e6
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/HLFIRTools.h
    M flang/include/flang/Optimizer/HLFIR/HLFIRDialect.h
    M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
    M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
    A flang/test/HLFIR/designate.fir
    M flang/test/HLFIR/invalid.fir

  Log Message:
  -----------
  [flang] Add hlfir.designate definition

Add hlfir.designate operation definition. This is the HLFIR building
blocks to represent Fortran designator. An hlfir.designator is a
Fortran "part-ref" and an optional susbstring or part ref.
See the operation added description for more detail, and
https://github.com/llvm/llvm-project/blob/main/flang/docs/HighLevelFIR.md
for the rational of this operation.

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




More information about the All-commits mailing list