[flang-commits] [flang] [flang] Added extension point callbacks to default FIR optimizer pipeline. (PR #90674)
Vijay Kandiah via flang-commits
flang-commits at lists.llvm.org
Wed May 1 10:34:15 PDT 2024
================
@@ -802,6 +802,7 @@ void CodeGenAction::generateLLVMIR() {
pm.enableVerifier(/*verifyPasses=*/true);
MLIRToLLVMPassPipelineConfig config(level, opts, mathOpts);
+ fir::registerDefaultInlinerPass(config);
----------------
VijayKandiah wrote:
Yes, that was the original behavior to register and execute the inliner pass regardless of optimization level with flang-new, tco, and bbc. The changes preserve this behavior.
https://github.com/llvm/llvm-project/pull/90674
More information about the flang-commits
mailing list