[llvm] [llvm][CodeGen] Fix failure in window scheduler caused by phi (PR #95900)
Hua Tian via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 18 05:09:01 PDT 2024
=?utf-8?b?4oCcYWtpcmF0aWFu4oCd?= <akiratian at tencent.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/95900 at github.com>
================
@@ -198,6 +198,12 @@ bool WindowScheduler::initialize() {
if (MI.isMetaInstruction() || MI.isTerminator())
continue;
if (MI.isPHI()) {
+ if (Register AntiReg = getAntiRegister(&MI))
+ // Register with Kernel in phi is not defined within the Kernel itself.
----------------
huaatian wrote:
Updated
https://github.com/llvm/llvm-project/pull/95900
More information about the llvm-commits
mailing list