[flang-commits] [PATCH] D151251: [flang][hlfir] Generate temporary storage in Forall/Where [2/2]

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue May 23 13:20:43 PDT 2023


jeanPerier created this revision.
jeanPerier added reviewers: tblah, vzakhari, clementval.
jeanPerier added a project: Flang.
Herald added subscribers: sunshaoce, mehdi_amini, jdoerfert.
Herald added a reviewer: sscalpone.
Herald added a project: All.
jeanPerier requested review of this revision.
Herald added a reviewer: nicolasvasilache.

Generate temporary storage inside WHERE and FORALL using the temporary
stack runtime. This covers all cases outside of LHS temporary, where the
descriptor stack will have to be used.

Depends on D151247 <https://reviews.llvm.org/D151247>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151251

Files:
  flang/include/flang/Optimizer/Builder/HLFIRTools.h
  flang/include/flang/Optimizer/Builder/Runtime/TemporaryStack.h
  flang/include/flang/Optimizer/Builder/TemporaryStorage.h
  flang/include/flang/Optimizer/HLFIR/HLFIRDialect.h
  flang/lib/Optimizer/Builder/CMakeLists.txt
  flang/lib/Optimizer/Builder/Runtime/TemporaryStack.cpp
  flang/lib/Optimizer/Builder/TemporaryStorage.cpp
  flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
  flang/test/HLFIR/order_assignments/runtime-stack-temp.fir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151251.524859.patch
Type: text/x-patch
Size: 20466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230523/2175c162/attachment-0001.bin>


More information about the flang-commits mailing list