Lower hlfir.where when the scheduling analysis determined that no
temporary storage is needed.
Depends on D150581
Paths
| Differential D150881
[flang][hlfir] Lower hlfir.where when there are no conflicts ClosedPublic Authored by jeanPerier on May 18 2023, 9:35 AM.
Details Summary Lower hlfir.where when the scheduling analysis determined that no Depends on D150581
Diff Detail
Event TimelineComment Actions LGTM! If the elemental inlining pass is done first, do we still need to handle recursive elemental inlining in bufferization? I guess it is good to have around for robustness. This revision is now accepted and ready to land.May 19 2023, 5:21 AM Comment Actions
We would only need to inline the "last" one here indeed, but as you point out, I think it is better to have it explicit here so that we can run this pass independently from the optimization that runs on everything. Closed by commit rG5d0c5c592840: [flang][hlfir] Lower hlfir.where when there are no conflicts (authored by jeanPerier). · Explain WhyMay 22 2023, 3:51 AM This revision was automatically updated to reflect the committed changes. jeanPerier marked an inline comment as done.
Revision Contents
Diff 524224 flang/include/flang/Optimizer/Builder/HLFIRTools.h
flang/include/flang/Optimizer/HLFIR/HLFIROps.td
flang/lib/Lower/ConvertCall.cpp
flang/lib/Optimizer/Builder/HLFIRTools.cpp
flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp
flang/test/HLFIR/order_assignments/where-codegen-no-conflict.fir
|