Create the fir.dispatch_table operation based on semantics
information. The fir.dispatch_table will be used for static devirtualization
as well as for fir.select_type conversion.
Depends on D138129
Paths
| Differential D138131
[flang] Create fir.dispatch_table and fir.dt_entry operations ClosedPublic Authored by clementval on Nov 16 2022, 6:39 AM.
Details Summary Create the fir.dispatch_table operation based on semantics Depends on D138129
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 16 2022, 6:39 AM This revision is now accepted and ready to land.Nov 16 2022, 8:31 AM Comment Actions Looks great
clementval added inline comments.
Closed by commit rG6393d2ea24fb: [flang] Create fir.dispatch_table and fir.dt_entry operations (authored by clementval). · Explain WhyNov 17 2022, 1:53 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 475816 flang/include/flang/Lower/AbstractConverter.h
flang/include/flang/Optimizer/Builder/FIRBuilder.h
flang/include/flang/Optimizer/Dialect/FIROps.td
flang/lib/Lower/Bridge.cpp
flang/lib/Lower/ConvertType.cpp
flang/lib/Optimizer/Builder/FIRBuilder.cpp
flang/lib/Optimizer/CodeGen/CodeGen.cpp
flang/lib/Optimizer/Dialect/FIROps.cpp
flang/test/Fir/Todo/dispatch_table.fir
flang/test/Lower/dispatch-table.f90
flang/test/Lower/polymorphic-types.f90
|
Why do you need both the sym_name and symref ? Can't the sym_name be deduced from the symref somehow ?