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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 00:57:56 PDT 2024


================
@@ -199,6 +199,9 @@ class TargetSubtargetInfo : public MCSubtargetInfo {
   /// True if the subtarget should run MachinePipeliner
   virtual bool enableMachinePipeliner() const { return true; };
 
+  /// True if the subtarget should run WindowScheduler.
+  virtual bool enableWindowScheduler() const { return true; }
----------------
dtcxzyw wrote:

> On our own DSA, this window algorithm typically can achieve a performance
improvement of over 10%.

Could you please share some performance data (e.g., SPEC benchmarks) on other non-VLIW architectures? IIRC AArch64 and PowerPC also support `MachinePipeliner`.



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


More information about the llvm-commits mailing list