Grammar and spelling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225740 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2015-01-13 00:21:14 +00:00
parent 4fef722974
commit ccd4840428

View File

@ -151,10 +151,10 @@ static void emitComments(LLVMDisasmContext *DC,
DC->CommentStream.resync(); 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. /// scheduling model, based on \p DC information.
/// \return The maximum expected latency over all the operands or -1 /// \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) { static int getItineraryLatency(LLVMDisasmContext *DC, const MCInst &Inst) {
const int NoInformationAvailable = -1; const int NoInformationAvailable = -1;
@ -179,7 +179,7 @@ static int getItineraryLatency(LLVMDisasmContext *DC, const MCInst &Inst) {
/// \brief Gets latency information for \p Inst, based on \p DC information. /// \brief Gets latency information for \p Inst, based on \p DC information.
/// \return The maximum expected latency over all the definitions or -1 /// \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) { static int getLatency(LLVMDisasmContext *DC, const MCInst &Inst) {
// Try to compute scheduling information. // Try to compute scheduling information.
const MCSubtargetInfo *STI = DC->getSubtargetInfo(); const MCSubtargetInfo *STI = DC->getSubtargetInfo();
@ -220,7 +220,7 @@ static int getLatency(LLVMDisasmContext *DC, const MCInst &Inst) {
static void emitLatency(LLVMDisasmContext *DC, const MCInst &Inst) { static void emitLatency(LLVMDisasmContext *DC, const MCInst &Inst) {
int Latency = getLatency(DC, Inst); int Latency = getLatency(DC, Inst);
// Report only interesting latency. // Report only interesting latencies.
if (Latency < 2) if (Latency < 2)
return; return;