Preliminary work on HLFIR. Introduce option that will allow testing
lowering via HLFIR until this is ready to replace the current expression
lowering.
See https://reviews.llvm.org/D134285 for more context about the plan.
Paths
| Differential D135959
[flang] Introduce option to lower expression to HLFIR ClosedPublic Authored by jeanPerier on Oct 14 2022, 7:05 AM.
Details Summary Preliminary work on HLFIR. Introduce option that will allow testing See https://reviews.llvm.org/D134285 for more context about the plan.
Diff Detail
Event TimelineComment Actions LGTM. Good to see this work getting started!
This revision is now accepted and ready to land.Oct 14 2022, 7:14 AM
Comment Actions Good to see HLFIR getting going! Do you have a plan to support this in the flang-new driver as well as bbc? Comment Actions It looks to me like references to the data member lowerToHighLevelFIR should be made consistent.
Comment Actions
Comment Actions
Yes, when there is some end-to-end support for this new path, I will add a way to control the option in flang-new too.
The members LoweringOptions were previously added as bit-fields (https://en.cppreference.com/w/cpp/language/bit_field), so making the new one a bool would be inconsistent. Closed by commit rG4546397e3958: [flang] Introduce option to lower expression to HLFIR (authored by jeanPerier). · Explain WhyOct 17 2022, 1:11 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 468129 flang/include/flang/Lower/AbstractConverter.h
flang/include/flang/Lower/LoweringOptions.h
flang/lib/Lower/Bridge.cpp
flang/test/Lower/HLFIR/expr-addr.f90
flang/test/Lower/HLFIR/expr-box.f90
flang/test/Lower/HLFIR/expr-value.f90
flang/tools/bbc/bbc.cpp
|
Is this change related?