[llvm] [AMDGPU] Correctly insert s_nops for implicit read of SDWA (PR #100276)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 04:07:34 PDT 2024
================
@@ -935,6 +935,30 @@ int GCNHazardRecognizer::checkVALUHazards(MachineInstr *VALU) {
if (Use.isReg() && TRI->regsOverlap(Def, Use.getReg()))
----------------
jayfoad wrote:
Why not just include implicit operands in this loop? I.e. iterate over `all_uses` instead of `explicit_uses`.
https://github.com/llvm/llvm-project/pull/100276
More information about the llvm-commits
mailing list