Add !fir.tdesc type conversion.
!fir.tdesc is converted to a llvm.ptr<i8>.
This patch is part of the upstreaming effort from fir-dev branch.
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Co-authored-by: Jean Perier <jperier@nvidia.com>
Differential D113769
[fir] !fir.tdesc type conversion clementval on Nov 12 2021, 6:48 AM. Authored by
Details Add !fir.tdesc type conversion. This patch is part of the upstreaming effort from fir-dev branch. Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Diff Detail
Event Timeline
Comment Actions Nit: Although these are all converted to i8 pointers, it might be good to have a few more tests? I have given a few below. $ ./bin/fir-opt --fir-to-llvm-ir tdesc.mlir
$ cat tdesc.mlir
Comment Actions I'll add your tests.
|
What's the f18 object?