[llvm] [llvm][CodeGen] Resolve issues when updating live intervals in window scheduler (PR #101945)
Hua Tian via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 00:57:18 PDT 2024
=?utf-8?b?4oCcYWtpcmF0aWFu4oCd?= <akiratian at tencent.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/101945 at github.com>
================
@@ -0,0 +1,204 @@
+# REQUIRES: asserts
+#
+# RUN: llc --march=hexagon %s -run-pass=pipeliner -debug-only=pipeliner \
+# RUN: -window-sched=force -filetype=null -window-search-num=100 \
+# RUN: -window-search-ratio=100 -window-diff-limit=0 -verify-machineinstrs \
+# RUN: 2>&1 | FileCheck %s
+
+# The bug was reported at https://github.com/llvm/llvm-project/pull/99454.
+# It is caused by the corruption of live intervals in certain scenarios.
+#
+# CHECK: Best window offset is {{[0-9]+}} and Best II is {{[0-9]+}}.
+# CHECK: Best window offset is {{[0-9]+}} and Best II is {{[0-9]+}}.
----------------
huaatian wrote:
Updated
https://github.com/llvm/llvm-project/pull/101945
More information about the llvm-commits
mailing list