This patch extends the FIRToLLVMLowering pass in Flang by extending
the hook to transform fir.coordinate_of into a sequence of LLVM MLIR
instructions (i.e. CoordinateOpConversion::doRewrite). The following
case is added:
- the input object is inside !fir.ref (e.g. !fir.ref<!fir.array> or !fir.ref<!fir.derived>).
This is part of the upstreaming effort from the fir-dev branch in .
Originally written by:
Co-authored-by: Jean Perier <email@example.com>
Co-authored-by: Eric Schweitz <firstname.lastname@example.org>
Co-authored-by: V Donaldson <email@example.com>
Depends on: D114159