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 @@ -56,6 +56,8 @@ namespace fir {
56
56
#define GEN_PASS_DECL_OMPFUNCTIONFILTERING
57
57
#define GEN_PASS_DECL_VSCALEATTR
58
58
#define GEN_PASS_DECL_FUNCTIONATTR
59
+ #define GEN_PASS_DECL_CONSTANTARGUMENTGLOBALISATIONOPT
60
+
59
61
#include " flang/Optimizer/Transforms/Passes.h.inc"
60
62
61
63
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