[llvm] [AMDGPU] Correctly insert s_nops for implicit read of SDWA (PR #100276)
Jeffrey Byrnes via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 09:35:04 PDT 2024
================
@@ -935,6 +935,30 @@ int GCNHazardRecognizer::checkVALUHazards(MachineInstr *VALU) {
if (Use.isReg() && TRI->regsOverlap(Def, Use.getReg()))
----------------
jrbyrnes wrote:
In the past, I have seen us use implicit regs on ops where they don't actually read those regs (rather they're use for modelling liveness in some way, MI100 indirect copy to AGPR handling comes to mind). I assume we don't do this / plan on doing this for MI300 (at least for VALUs)?
https://github.com/llvm/llvm-project/pull/100276
More information about the llvm-commits
mailing list