[all-commits] [llvm/llvm-project] d75781: [flang][hlfir] Generate temporary storage in Foral...

jeanPerier via All-commits all-commits at lists.llvm.org
Thu May 25 02:55:27 PDT 2023


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

  Changed paths:
    M flang/include/flang/Optimizer/Builder/TemporaryStorage.h
    M flang/lib/Optimizer/Builder/TemporaryStorage.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
    A flang/test/HLFIR/order_assignments/impure-where.fir
    A flang/test/HLFIR/order_assignments/inlined-stack-temp.fir
    R flang/test/HLFIR/ordered-assignments-codegen-todo.fir

  Log Message:
  -----------
  [flang][hlfir] Generate temporary storage in Forall/Where [1/2]

Generate temporary storage inline inside WHERE and FORALL when possible.
A following patch will use the runtime to cover the generic cases.

Reviewed By: vzakhari

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




More information about the All-commits mailing list