Add TODO for KIND=2 so the user is notified correctly.
This patch is part of the upstreaming effort from fir-dev branch.
Co-authored-by: Peter Steinfeld <psteinfeld@nvidia.com>
Paths
| Differential D127619
[flang][NFC] Add TODOs for KIND = 2 ClosedPublic Authored by clementval on Jun 13 2022, 1:57 AM.
Details Summary Add TODO for KIND=2 so the user is notified correctly. This patch is part of the upstreaming effort from fir-dev branch. Co-authored-by: Peter Steinfeld <psteinfeld@nvidia.com>
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 13 2022, 1:57 AM This revision is now accepted and ready to land.Jun 13 2022, 6:37 AM Comment Actions All builds and tests correctly, but it would be better to have calls to TODO() rather than fatal unsupported messages.
This revision now requires changes to proceed.Jun 13 2022, 7:37 AM
PeteSteinfeld added inline comments.
This revision is now accepted and ready to land.Jun 13 2022, 9:42 AM Closed by commit rGf1c84d0ff051: [flang][NFC] Add TODOs for KIND = 2 (authored by clementval). · Explain WhyJun 13 2022, 9:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 436298 flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
|
In other similar situations, we emit a TODO rather than a fatal unsupported message. This helps guarantee that we catch all such errors in the front end rather than in the runtime.