When the base box is a block argument, the defining op is null.
Only try to recover embox/rebox if there is a defining op.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Differential D145910
[flang] Only check for embox/rebox if defining op is present ClosedPublic Authored by clementval on Mar 13 2023, 2:36 AM.
Details Summary When the base box is a block argument, the defining op is null.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 13 2023, 2:36 AM This revision is now accepted and ready to land.Mar 13 2023, 7:04 AM clementval added a child revision: D145928: [flang] Handle parent component in user function argument.Mar 13 2023, 7:15 AM clementval added a child revision: D145931: [flang] Handle parent component in user function argument for special cases. Closed by commit rG955eaaf1b52f: [flang] Only check for embox/rebox if defining op is present (authored by clementval). · Explain WhyMar 13 2023, 7:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 504649 flang/lib/Lower/ConvertExpr.cpp
|