[flang] Add MemoryAllocation pass to the pipeline
authorValentin Clement <clementval@gmail.com>
Mon, 24 Jan 2022 15:32:04 +0000 (16:32 +0100)
committerValentin Clement <clementval@gmail.com>
Mon, 24 Jan 2022 15:32:39 +0000 (16:32 +0100)
commit4d53f88d1a18e288362e1077ae09c98c843593ba
tree16d04892c2c3e890c47672e899b8e5537e70c947
parentfc08d1c2940609d26a534d7a12e6c6a528891830
[flang] Add MemoryAllocation pass to the pipeline

Add the MemoryAllocation pass into the pipeline. Add
the possibilty to pass the options directly within the tool (tco).

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D117886
flang/include/flang/Optimizer/Transforms/Passes.h
flang/include/flang/Tools/CLOptions.inc
flang/lib/Optimizer/Transforms/MemoryAllocation.cpp