This patch extends the FIRToLLVMLowering pass in Flang by adding a
hook to transform fir.end. This is just a placeholder for now as fir.end is not required yet.
This is part of the upstreaming effort from the fir-dev branch in [1].
[1] https://github.com/flang-compiler/f18-llvm-project
Patch originally written by:
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Nit: I think you can spell this rewriter.eraseOp for the same effect, but it expressed the intent a bit more clearly.