[all-commits] [llvm/llvm-project] 2a9126: [flang][hlfir] Add TODO for polymorphic vector sub...

jeanPerier via All-commits all-commits at lists.llvm.org
Sun May 7 07:26:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a9126d40dfbc384692f707def114b4e5b43e239
      https://github.com/llvm/llvm-project/commit/2a9126d40dfbc384692f707def114b4e5b43e239
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2023-05-07 (Sun, 07 May 2023)

  Changed paths:
    M flang/lib/Lower/ConvertExprToHLFIR.cpp

  Log Message:
  -----------
  [flang][hlfir] Add TODO for polymorphic vector subscripted entities

I removed the barriers a bit fast. Some mold is needed on
hlfir.elemental for polymorphic vector subscripted designator (and for
parenthesized polymorphic) so that a temporary can be later created.

The parenthesized array case may also just used asExpr and that
could later use AssignTemporary to deal with this. But the vector
subscripted designator case will need to use some new runtime
to get some mold allocation done for the temp.

Add TODOs in the meantime.

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




More information about the All-commits mailing list