================
@@ -65,6 +65,9 @@ class PipelineTuningOptions {
   /// false.
   bool LoopInterchange;
 
+  /// Tuning option to enable/disable loop fusion. Its default value is false.
+  bool LoopFusion;
----------------
nikic wrote:

> This is required at each site which is using PipelineTuningOptions. For 
> LoopInterchange and others, initialization occurs in 
> PassBuilderPipelines.cpp, but for LoopFusion, I can't do this because the 
> definition of the LoopFusion variable is in NewPMDriver.cpp, as suggested by 
> @kasuga-fj.

Why can't you do the initialization to false in PassBuilderPipelines? Isn't 
this just the default value that later gets overwritten by the code in 
NewPMDriver?

https://github.com/llvm/llvm-project/pull/142686
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to