[llvm] [llvm-mca] Account for AcquireAtCycles in llvm-mca (PR #80742)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 29 07:31:32 PST 2024


================
@@ -89,11 +89,11 @@ static void initializeUsedResources(InstrDesc &ID,
       AllInOrderResources &= (PR.BufferSize <= 1);
     }
 
-    CycleSegment RCy(0, PRE->ReleaseAtCycle, false);
+    CycleSegment RCy(PRE->AcquireAtCycle, PRE->ReleaseAtCycle, false);
----------------
michaelmaitland wrote:

I missed your comment above. I think your point is that we need to be able to do this without slowing things down too much. I have a rough idea on how me might do this in my head, but I am not sure when I will have time to pick this task back up again, since it is much less straightforward than I had for the original patch.

https://github.com/llvm/llvm-project/pull/80742


More information about the llvm-commits mailing list