[llvm] [MachineLICM][AArch64] Hoist COPY instructions with other uses in the loop (PR #71403)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 19 04:25:28 PST 2024
================
@@ -1262,6 +1262,18 @@ bool MachineLICMBase::IsProfitableToHoist(MachineInstr &MI,
return false;
}
+ // If we have a COPY with other uses in the loop, hoist to allow the users to
----------------
michaelselehov wrote:
You may want to check my PR https://github.com/llvm/llvm-project/pull/81735 that is intended to fix the regression caused by spilling in AMDGPU target. It might help you too.
https://github.com/llvm/llvm-project/pull/71403
More information about the llvm-commits
mailing list