[llvm-mca] Improve code comments. NFC.

llvm-svn: 338513
This commit is contained in:
Andrea Di Biagio 2018-08-01 10:49:01 +00:00
parent 5f865032db
commit 5291df3c98
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class Scheduler;
// the following conditions are met: // the following conditions are met:
// 1) There are enough entries in the reorder buffer (see class // 1) There are enough entries in the reorder buffer (see class
// RetireControlUnit) to write the opcodes associated with the instruction. // RetireControlUnit) to write the opcodes associated with the instruction.
// 2) There are enough temporaries to rename output register operands. // 2) There are enough physical registers to rename output register operands.
// 3) There are enough entries available in the used buffered resource(s). // 3) There are enough entries available in the used buffered resource(s).
// //
// The number of micro opcodes that can be dispatched in one cycle is limited by // The number of micro opcodes that can be dispatched in one cycle is limited by

View File

@ -31,7 +31,7 @@ namespace mca {
/// this RetireControlUnit (RCU) gets notified. /// this RetireControlUnit (RCU) gets notified.
/// ///
/// On instruction retired, register updates are all architecturally /// On instruction retired, register updates are all architecturally
/// committed, and any temporary registers originally allocated for the /// committed, and any physicall registers previously allocated for the
/// retired instruction are freed. /// retired instruction are freed.
struct RetireControlUnit : public HardwareUnit { struct RetireControlUnit : public HardwareUnit {
// A RUToken is created by the RCU for every instruction dispatched to the // A RUToken is created by the RCU for every instruction dispatched to the