[llvm] [AMDGPU] misched: avoid subregister dependencies (PR #140255)
Robert Imschweiler via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 1 02:37:50 PDT 2025
================
@@ -545,6 +677,16 @@ void GCNSubtarget::adjustSchedDependency(
MachineInstr *DefI = Def->getInstr();
MachineInstr *UseI = Use->getInstr();
+ if (const auto &[IsRealDep, Reg] =
----------------
ro-i wrote:
Initially, I wanted three return states: no real dependency, real dependency with modified reg, and real dependency without modified reg (because I wasn't sure if I should rather return DefReg or UseReg). But it's better the way you suggested
https://github.com/llvm/llvm-project/pull/140255
More information about the llvm-commits
mailing list