[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 04:40:33 PDT 2024


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

Is the pass always registered and executed (irrespective of the optimization level) with the flang-driver? Is that expected and different from tco?

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


More information about the flang-commits mailing list