[llvm] r338513 - [llvm-mca] Improve code comments. NFC.
Andrea Di Biagio via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 1 03:49:01 PDT 2018
Author: adibiagio
Date: Wed Aug 1 03:49:01 2018
New Revision: 338513
URL: http://llvm.org/viewvc/llvm-project?rev=338513&view=rev
Log:
[llvm-mca] Improve code comments. NFC.
Modified:
llvm/trunk/tools/llvm-mca/DispatchStage.h
llvm/trunk/tools/llvm-mca/RetireControlUnit.h
Modified: llvm/trunk/tools/llvm-mca/DispatchStage.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mca/DispatchStage.h?rev=338513&r1=338512&r2=338513&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/DispatchStage.h (original)
+++ llvm/trunk/tools/llvm-mca/DispatchStage.h Wed Aug 1 03:49:01 2018
@@ -38,7 +38,7 @@ class Scheduler;
// the following conditions are met:
// 1) There are enough entries in the reorder buffer (see class
// 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).
//
// The number of micro opcodes that can be dispatched in one cycle is limited by
Modified: llvm/trunk/tools/llvm-mca/RetireControlUnit.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mca/RetireControlUnit.h?rev=338513&r1=338512&r2=338513&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/RetireControlUnit.h (original)
+++ llvm/trunk/tools/llvm-mca/RetireControlUnit.h Wed Aug 1 03:49:01 2018
@@ -31,7 +31,7 @@ namespace mca {
/// this RetireControlUnit (RCU) gets notified.
///
/// 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.
struct RetireControlUnit : public HardwareUnit {
// A RUToken is created by the RCU for every instruction dispatched to the
More information about the llvm-commits
mailing list