[PATCH] D113988: [flang][CodeGen] Transform `fir.field_index` to a sequence of LLVM MLIR
Andrzej Warzynski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 16 05:21:28 PST 2021
awarzynski created this revision.
awarzynski added reviewers: clementval, rovka, kiranchandramohan, schweitz, jeanPerier.
Herald added subscribers: Chia-hungDuan, mehdi_amini, rriddle, arphaman.
Herald added a project: Flang.
awarzynski requested review of this revision.
Herald added subscribers: llvm-commits, stephenneuendorffer, jdoerfert.
Herald added a project: LLVM.
This patch extends the `FIRToLLVMLowering` pass in Flang by adding a
hook to transform `fir.field_index` to a sequence of LLVM MLIR
instructions.
This is part of the upstreaming effort from the `fir-dev` branch in [1].
[1] https://github.com/flang-compiler/f18-llvm-project
Originally written by:
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>
Co-authored-by: Jean Perier <jperier at nvidia.com>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D113988
Files:
flang/lib/Optimizer/CodeGen/CodeGen.cpp
flang/test/Fir/convert-to-llvm.fir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113988.387584.patch
Type: text/x-patch
Size: 5177 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211116/27539178/attachment.bin>
More information about the llvm-commits
mailing list