[fir] Add fir.convert op conversion from FIR to LLVM IR
authorValentin Clement <clementval@gmail.com>
Tue, 9 Nov 2021 14:37:49 +0000 (15:37 +0100)
committerValentin Clement <clementval@gmail.com>
Tue, 9 Nov 2021 14:38:50 +0000 (15:38 +0100)
commit092cee5f7fe991cc0cfef6a6d52ae150723ce7a0
tree43f70fb25479074c4664ccb5f23260e21c43ecc3
parenta40929dcd295997736caf066758dd359216443c2
[fir] Add fir.convert op conversion from FIR to LLVM IR

Add conversion pattern for the `fir.convert` operation.

This patch is part of the upstreaming effort from fir-dev branch.

This patch was previously landed with a truncated version that
was failing the windows buildbot.

Reviewed By: rovka, awarzynski

Differential Revision: https://reviews.llvm.org/D113469

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
flang/lib/Optimizer/CodeGen/CodeGen.cpp
flang/test/Fir/convert-to-llvm.fir