The previous code made the assumption that the defining
operation is a fir::ConvertOp without checking. This results in
segmentation fault in code like the added test.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D129077
[flang] Avoid segfault when defining op is not a fir::Convert ClosedPublic Authored by clementval on Jul 4 2022, 6:36 AM.
Details Summary The previous code made the assumption that the defining
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 4 2022, 6:36 AM This revision is now accepted and ready to land.Jul 4 2022, 6:37 AM Closed by commit rGd7697c175db9: [flang] Avoid segfault when defining op is not a fir::Convert (authored by clementval). · Explain WhyJul 4 2022, 7:03 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 442083 flang/lib/Optimizer/Builder/FIRBuilder.cpp
flang/test/Lower/extent_triplets.f90
|