Skip to content
Commit 757600bc authored by Andrea Di Biagio's avatar Andrea Di Biagio
Browse files

[llvm-mca] Correctly update the CyclesLeft of a register read in the presence...

[llvm-mca] Correctly update the CyclesLeft of a register read in the presence of partial register updates.

This patch fixe the logic in ReadState::cycleEvent(). That method was not
correctly updating field `TotalCycles`.

Added extra code comments in class ReadState to better describe each field.

llvm-svn: 334028
parent c581e567
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment