[flang-commits] [flang] [flang] Added extension point callbacks to default FIR optimizer pipeline. (PR #90674)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Wed May 1 14:30:32 PDT 2024


================
@@ -802,6 +802,7 @@ void CodeGenAction::generateLLVMIR() {
   pm.enableVerifier(/*verifyPasses=*/true);
 
   MLIRToLLVMPassPipelineConfig config(level, opts, mathOpts);
+  fir::registerDefaultInlinerPass(config);
----------------
kiranchandramohan wrote:

I was confused by the reference to the O2 optimizer pipelines in both bbc and tco. Thanks for clarifying.

https://github.com/llvm/llvm-project/pull/90674


More information about the flang-commits mailing list