aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAndrzej Warzynski <andrzej.warzynski@arm.com>2021-11-17 10:03:19 +0000
committerAndrzej Warzynski <andrzej.warzynski@arm.com>2021-12-10 08:34:26 +0000
commit75db341d5a12783f8048ef9968896871c580e6b7 (patch)
treeea3d9f36dbd83c445927e3d6b50f862b70aff270 /clang/lib/CodeGen/CodeGenFunction.cpp
parentcf58b9ce98043d4c9af5ffb5b47a18009b145b5b (diff)
downloadllvm-75db341d5a12783f8048ef9968896871c580e6b7.zip
llvm-75db341d5a12783f8048ef9968896871c580e6b7.tar.gz
llvm-75db341d5a12783f8048ef9968896871c580e6b7.tar.bz2
[flang][codegen] Add a conversion for `!fir.coordinate_of` - part 1
This patch extends the `FIRToLLVMLowering` pass in Flang by adding a hook to transform `!fir.coordinate_of` into a sequence of LLVM MLIR instructions. The following cases are currently supported: 1. the input object is a `!fir.complex` (wrapped in e.g. `!fir.ref` or `!fir.box`) 2. the input object is wrapped in a `!fir.box` (including e.g. `!fir.array`). Note that `!fir.complex` inside a `!fir.box` falls under case 1. above (i.e. it's a special case regardless of the wrapping type). This is part of the upstreaming effort from the `!fir-dev` branch in [1]. Differential Revision: https://reviews.llvm.org/D114159 Co-authored-by: Jean Perier <jperier@nvidia.com> Co-authored-by: Eric Schweitz <eschweitz@nvidia.com> Co-authored-by: V Donaldson <vdonaldson@nvidia.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions