summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4fef722)
raw | patch | inline | side by side (parent: 4fef722)
author | Eric Christopher <echristo@gmail.com> | |
Tue, 13 Jan 2015 00:21:14 +0000 (00:21 +0000) | ||
committer | Eric Christopher <echristo@gmail.com> | |
Tue, 13 Jan 2015 00:21:14 +0000 (00:21 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225740 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCDisassembler/Disassembler.cpp | patch | blob | history |
index d0d7f307dae7a08be3219f3be1c475e48e485bcd..d27d83b31ec3a1d24e865d1c23b9c1d8dcc11898 100644 (file)
DC->CommentStream.resync();
}
-/// \brief Gets latency information for \p Inst form the itinerary
+/// \brief Gets latency information for \p Inst from the itinerary
/// scheduling model, based on \p DC information.
/// \return The maximum expected latency over all the operands or -1
-/// if no information are available.
+/// if no information is available.
static int getItineraryLatency(LLVMDisasmContext *DC, const MCInst &Inst) {
const int NoInformationAvailable = -1;
/// \brief Gets latency information for \p Inst, based on \p DC information.
/// \return The maximum expected latency over all the definitions or -1
-/// if no information are available.
+/// if no information is available.
static int getLatency(LLVMDisasmContext *DC, const MCInst &Inst) {
// Try to compute scheduling information.
const MCSubtargetInfo *STI = DC->getSubtargetInfo();
static void emitLatency(LLVMDisasmContext *DC, const MCInst &Inst) {
int Latency = getLatency(DC, Inst);
- // Report only interesting latency.
+ // Report only interesting latencies.
if (Latency < 2)
return;