Add more diagnostics to fir.coordinate_of to provide better checking
that the IR is sane.
This patch is part of the upstreaming effort from fir-dev branch.
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
| Paths 
 |  Differential  D128255  
[flang] Add more diagnostics to fir.coordinate_of ClosedPublic Authored by clementval on Jun 21 2022, 3:12 AM. 
Details Summary Add more diagnostics to fir.coordinate_of to provide better checking This patch is part of the upstreaming effort from fir-dev branch. Co-authored-by: Eric Schweitz <eschweitz@nvidia.com> 
Diff Detail 
 Event TimelineHerald added projects: Restricted Project, Restricted Project.  ·  View Herald TranscriptJun 21 2022, 3:12 AM This revision is now accepted and ready to land.Jun 21 2022, 8:32 AM Closed by commit rGc67a87444f55: [flang] Add more diagnostics to fir.coordinate_of (authored by clementval).  ·  Explain WhyJun 21 2022, 11:43 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 438784 flang/include/flang/Optimizer/Dialect/FIROps.td
 flang/lib/Optimizer/CodeGen/BoxedProcedure.cpp
 flang/lib/Optimizer/Dialect/FIROps.cpp
 flang/test/Fir/Todo/coordinate_of_1.fir
 
 flang/test/Fir/Todo/coordinate_of_5.fir
 
 flang/test/Fir/Todo/coordinate_of_6.fir
 
 flang/test/Fir/convert-to-llvm.fir
 flang/test/Fir/coordinate_of_1.fir
 
 flang/test/Fir/coordinateof.fir
 
 flang/test/Fir/invalid.fir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||