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

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed May 24 01:42:38 PDT 2023


jeanPerier updated this revision to Diff 525062.
jeanPerier added a comment.

Load logical/numerical scalars value before selecting the temporary storage kind
to avoid picking up the runtime startegy when the inlined startegy works.
Add related regerssion test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151247/new/

https://reviews.llvm.org/D151247

Files:
  flang/include/flang/Optimizer/Builder/TemporaryStorage.h
  flang/lib/Optimizer/Builder/TemporaryStorage.cpp
  flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
  flang/test/HLFIR/order_assignments/inlined-stack-temp.fir
  flang/test/HLFIR/ordered-assignments-codegen-todo.fir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151247.525062.patch
Type: text/x-patch
Size: 44514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230524/bf4905aa/attachment-0001.bin>


More information about the flang-commits mailing list