[PATCH] D140415: [flang] stack arrays pass
Tom Eccles via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 12 09:02:49 PST 2023
tblah updated this revision to Diff 488685.
tblah added a comment.
Herald added a reviewer: jdoerfert.
Herald added subscribers: cfe-commits, sstefan1.
Herald added projects: clang, Flang.
- Do not move allocations outside of openmp regions
- Detect loops in the control flow graph
- Attempt to use llvm.stacksave/llvm.stackrestore to allow stack allocations inside of loops
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140415/new/
https://reviews.llvm.org/D140415
Files:
clang/docs/tools/clang-formatted-files.txt
flang/include/flang/Optimizer/Builder/MutableBox.h
flang/include/flang/Optimizer/Dialect/FIRAttr.h
flang/include/flang/Optimizer/Transforms/Passes.h
flang/include/flang/Optimizer/Transforms/Passes.td
flang/lib/Lower/Allocatable.cpp
flang/lib/Optimizer/Builder/MutableBox.cpp
flang/lib/Optimizer/Transforms/CMakeLists.txt
flang/lib/Optimizer/Transforms/StackArrays.cpp
flang/test/Lower/Intrinsics/c_loc.f90
flang/test/Lower/Intrinsics/system_clock.f90
flang/test/Transforms/stack-arrays.f90
flang/test/Transforms/stack-arrays.fir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140415.488685.patch
Type: text/x-patch
Size: 48649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230112/b31d2319/attachment-0001.bin>
More information about the cfe-commits
mailing list