File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ namespace fir {
57
57
#define GEN_PASS_DECL_OMPFUNCTIONFILTERING
58
58
#define GEN_PASS_DECL_VSCALEATTR
59
59
#define GEN_PASS_DECL_FUNCTIONATTR
60
+ #define GEN_PASS_DECL_CONSTANTARGUMENTGLOBALISATIONOPT
61
+
60
62
#include " flang/Optimizer/Transforms/Passes.h.inc"
61
63
62
64
std::unique_ptr<mlir::Pass> createAffineDemotionPass ();
Original file line number Diff line number Diff line change @@ -286,6 +286,10 @@ inline void createDefaultFIROptimizerPassPipeline(
286
286
else
287
287
fir::addMemoryAllocationOpt (pm);
288
288
289
+ // FIR Inliner Callback
290
+ pc.invokeFIRInlinerCallback (pm, pc.OptLevel );
291
+
292
+ pm.addPass (fir::createSimplifyRegionLite ());
289
293
pm.addPass (mlir::createCSEPass ());
290
294
291
295
// Polymorphic types
You can’t perform that action at this time.
0 commit comments