[llvm] [llvm-mca][AMDGPU] Retire instructions that have issue carry over correctly (PR #83881)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 08:18:30 PST 2024
================
@@ -329,6 +335,17 @@ void InOrderIssueStage::updateCarriedOver() {
else
Bandwidth -= CarryOver;
+ // updateIssuedInst did not handle executed if issue had carry over.
+ if (CarriedOver.getInstruction()->isExecuted()) {
+ PRF.onInstructionExecuted(&IS);
+ LSU.onInstructionExecuted(IR);
+ notifyEvent<HWInstructionEvent>(
+ HWInstructionEvent(HWInstructionEvent::Executed, IR));
+ LLVM_DEBUG(dbgs() << "[E] Instruction #" << IR << " is executed\n");
----------------
michaelmaitland wrote:
Done!
https://github.com/llvm/llvm-project/pull/83881
More information about the llvm-commits
mailing list