Add pass that convert abstract result to function argument.
This pass is needed before the conversion to LLVM IR.
This patch is part of the upstreaming effort from fir-dev branch.
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Paths
| Differential D111146
[fir] Add the abstract result conversion pass ClosedPublic Authored by clementval on Oct 5 2021, 6:29 AM.
Details Summary Add pass that convert abstract result to function argument. This patch is part of the upstreaming effort from fir-dev branch. Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Diff Detail
Event Timelineclementval added a parent revision: D111057: [fir] Add external name interop pass.Oct 5 2021, 6:29 AM Comment Actions LG, even though some more doc inline in the code could help: maybe document each pattern individually? And/Or document the pass itself? (like code snippet or something) clementval removed a parent revision: D111057: [fir] Add external name interop pass.Oct 7 2021, 12:57 AM This revision is now accepted and ready to land.Oct 7 2021, 9:21 AM Closed by commit rGb0eef1eef050: [fir] Add the abstract result conversion pass (authored by clementval). · Explain WhyOct 11 2021, 1:10 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 378585 flang/include/flang/Optimizer/Transforms/Passes.h
flang/include/flang/Optimizer/Transforms/Passes.td
flang/lib/Optimizer/Dialect/FIROps.cpp
flang/lib/Optimizer/Transforms/AbstractResult.cpp
flang/lib/Optimizer/Transforms/CMakeLists.txt
flang/test/Fir/abstract-results.fir
|