[llvm] [llvm][CodeGen] Fix the issue caused by live interval checking in window scheduler (PR #123184)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 23:10:42 PST 2025


================
@@ -1,22 +1,19 @@
 # REQUIRES: asserts
 # 
-# RUN: llc --mtriple=hexagon %s -run-pass=pipeliner -debug-only=pipeliner \
-# RUN: -filetype=null 2>&1 | FileCheck %s
+# RUN: llc --mtriple=hexagon %s -run-pass=pipeliner -filetype=null \
+# RUN: | FileCheck %s
 
 # The bug was reported at https://github.com/llvm/llvm-project/issues/123165.
-# It is caused by the corruption of live intervals in certain scenarios.
 #
-# We check window scheduling logs to ensure that there is no crashing.
-# CHECK: Start analyzing II:
-# CHECK: MaxCycle is {{[0-9]+}}.
-# CHECK: MaxStallCycle is {{[0-9]+}}.
-# CHECK: Start scheduling Phis:
-# CHECK: Current window Offset is {{[0-9]+}} and II is {{[0-9]+}}.
-# CHECK: Window scheduling is not needed!
+# CHECK-LABEL: body:             |
+# CHECK-NOT: bb.4:
----------------
arsenm wrote:

Avoid -not checks, can use generated checks 

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


More information about the llvm-commits mailing list