[flang-commits] [PATCH] D150581: [flang][hlfir] Enable WHERE scheduling in LowerHLFIROrderedAssignments
Jean Perier via Phabricator via flang-commits
flang-commits at lists.llvm.org
Mon May 15 08:26:57 PDT 2023
jeanPerier created this revision.
jeanPerier added reviewers: vzakhari, clementval, tblah.
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.
Nothing special is needed, other than adding the logging code for where
masks and to plug the pattern. This tests mainly adds test.
Note that some of the justifications to create temps shows some lacks of
side effect interface on operations (like hlfir.transpose), or on some
transparent llvm intrinsic calls (llvm.stacksave/restore).
I think we should as much as possible try to improve this on the ops
generate code rather than special casing it here.
Depends on D150564 <https://reviews.llvm.org/D150564>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D150581
Files:
flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
flang/lib/Optimizer/HLFIR/Transforms/ScheduleOrderAssignments.cpp
flang/test/HLFIR/order_assignments/where-fusing-scheduling.f90
flang/test/HLFIR/order_assignments/where-scheduling.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150581.522206.patch
Type: text/x-patch
Size: 9472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230515/6e9461c9/attachment.bin>
More information about the flang-commits
mailing list