When the default case requires block arguments, they have to be passed
through the cf.br - this piece was missing.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D149484
[flang] Fixed branch-to-default generation for select_type. ClosedPublic Authored by vzakhari on Apr 28 2023, 2:15 PM.
Details Summary When the default case requires block arguments, they have to be passed
Diff Detail Event TimelineThis revision is now accepted and ready to land.Apr 28 2023, 2:53 PM Comment Actions
Thank you for the prompt review! Closed by commit rG7e584357ac33: [flang] Fixed branch-to-default generation for select_type. (authored by vzakhari). · Explain WhyApr 28 2023, 3:55 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 518053 flang/lib/Optimizer/Transforms/PolymorphicOpConversion.cpp
flang/test/Lower/select-type-2.fir
|