Add the fir.save_result operation. It is use to save an
array, box, or record function result SSA-value to a memory location
Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Paths
| Differential D110407
[fir] Add fir.save_result op ClosedPublic Authored by clementval on Sep 24 2021, 5:45 AM.
Details Summary Add the fir.save_result operation. It is use to save an Co-authored-by: Jean Perier <jperier@nvidia.com>
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 24 2021, 8:05 AM
Closed by commit rG5b5ef2e26558: [fir] Add fir.save_result op (authored by schweitz, committed by clementval). · Explain WhySep 28 2021, 2:58 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 375510 flang/include/flang/Optimizer/Dialect/FIROps.td
flang/include/flang/Optimizer/Dialect/FIRTypes.td
flang/lib/Optimizer/Dialect/FIROps.cpp
flang/test/Fir/fir-ops.fir
flang/test/Fir/invalid.fir
|
Nit: The naming resultType confused me, because this is the input value to the operation and not its result (there aren't any results for this op)