[all-commits] [llvm/llvm-project] e6c66e: [flang][CodeGen] Transform `fir.field_index` to a ...
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Thu Nov 18 08:36:24 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e6c66ef55e63bb0e19f435de33eb12257680120c
https://github.com/llvm/llvm-project/commit/e6c66ef55e63bb0e19f435de33eb12257680120c
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2021-11-18 (Thu, 18 Nov 2021)
Changed paths:
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/test/Fir/convert-to-llvm.fir
Log Message:
-----------
[flang][CodeGen] Transform `fir.field_index` to a sequence of LLVM MLIR
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
Differential Revision: https://reviews.llvm.org/D113988
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>
Co-authored-by: Jean Perier <jperier at nvidia.com>
More information about the All-commits
mailing list