Add the fir-char_convert op.
This patch is part of the upstreaming effort from fir-dev branch.
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
| Paths 
 |  Differential  D110818  
[fir] Add fir.char_convert op ClosedPublic Authored by clementval on Sep 30 2021, 6:01 AM. 
Details Summary Add the fir-char_convert op. This patch is part of the upstreaming effort from fir-dev branch. Co-authored-by: Eric Schweitz <eschweitz@nvidia.com> 
Diff Detail 
 Event TimelineComment Actions The verification tests are missing. 
 This revision now requires changes to proceed.Sep 30 2021, 2:52 PM 
 This revision is now accepted and ready to land.Oct 1 2021, 2:34 AM Closed by commit rG15ea26de243a: [fir] Add fir.char_convert op (authored by schweitz, committed by clementval).  ·  Explain WhyOct 1 2021, 5:40 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 376457 flang/include/flang/Optimizer/Dialect/FIROps.td
 flang/lib/Optimizer/Dialect/FIROps.cpp
 flang/test/Fir/fir-ops.fir
 flang/test/Fir/invalid.fir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Random Comment: I think the name and syntax can be better. But not sure what it could be. I tried the following but it is also not great.