[llvm] [llvm][CodeGen] Added a new restriction for II by pragma in window scheduler (PR #99448)
Kai Yan via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 21 20:57:55 PDT 2024
================
@@ -0,0 +1,85 @@
+# RUN: llc --march=hexagon %s -run-pass=pipeliner -debug-only=pipeliner \
+# RUN: -window-sched=force -filetype=null -verify-machineinstrs 2>&1 \
+# RUN: | FileCheck %s
+# REQUIRES: asserts
+
+# Test that checks no window scheduler is performed if the II set by pragma was
+# enabled
+
+# CHECK-NOT: Start analyzing II
+# CHECK-NOT: Start scheduling Phis
+# CHECK-NOT: Current window Offset is {{[0-9]+}} and II is {{[0-9]+}}
----------------
kaiyan96 wrote:
We have added new debug information to report that the window scheduler is not supported when the initiation interval is set by pragma. Since window scheduling is not operated, this debug information is the only way to determine the status of the window scheduler.
https://github.com/llvm/llvm-project/pull/99448
More information about the llvm-commits
mailing list