[llvm] [llvm][CodeGen] Add a new software pipeliner 'Window Scheduler' (PR #84443)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 22:17:31 PDT 2024


================
@@ -292,8 +304,11 @@ bool MachinePipeliner::scheduleLoop(MachineLoop &L) {
   }
 
   ++NumTrytoPipeline;
+  if (useSwingModuloScheduler())
+    Changed = swingModuloScheduler(L);
 
-  Changed = swingModuloScheduler(L);
+  if (useWindowScheduler(Changed))
+    Changed = runWindowScheduler(L);
----------------
hiraditya wrote:

Should we run one scheduler after another? This came up in a discussion today at the vectorizer meeting. cc: @ayalz 

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


More information about the llvm-commits mailing list