[llvm] r307885 - fix typos in comments and error messges; NFC
Hiroshi Inoue via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 12 23:48:40 PDT 2017
Author: inouehrs
Date: Wed Jul 12 23:48:39 2017
New Revision: 307885
URL: http://llvm.org/viewvc/llvm-project?rev=307885&view=rev
Log:
fix typos in comments and error messges; NFC
Modified:
llvm/trunk/examples/Kaleidoscope/include/KaleidoscopeJIT.h
llvm/trunk/lib/CodeGen/PostRAHazardRecognizer.cpp
llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.h
llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/trunk/tools/llvm-c-test/echo.cpp
Modified: llvm/trunk/examples/Kaleidoscope/include/KaleidoscopeJIT.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/Kaleidoscope/include/KaleidoscopeJIT.h?rev=307885&r1=307884&r2=307885&view=diff
==============================================================================
--- llvm/trunk/examples/Kaleidoscope/include/KaleidoscopeJIT.h (original)
+++ llvm/trunk/examples/Kaleidoscope/include/KaleidoscopeJIT.h Wed Jul 12 23:48:39 2017
@@ -115,7 +115,7 @@ private:
return JITSymbol(SymAddr, JITSymbolFlags::Exported);
#ifdef LLVM_ON_WIN32
- // For Windows retry without "_" at begining, as RTDyldMemoryManager uses
+ // For Windows retry without "_" at beginning, as RTDyldMemoryManager uses
// GetProcAddress and standard libraries like msvcrt.dll use names
// with and without "_" (for example "_itoa" but "sin").
if (Name.length() > 2 && Name[0] == '_')
Modified: llvm/trunk/lib/CodeGen/PostRAHazardRecognizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PostRAHazardRecognizer.cpp?rev=307885&r1=307884&r2=307885&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PostRAHazardRecognizer.cpp (original)
+++ llvm/trunk/lib/CodeGen/PostRAHazardRecognizer.cpp Wed Jul 12 23:48:39 2017
@@ -23,7 +23,7 @@
/// This pass traverses all the instructions in a program in top-down order.
/// In contrast to the instruction scheduling passes, this pass never resets
/// the hazard recognizer to ensure it can correctly handles noop hazards at
-/// the begining of blocks.
+/// the beginning of blocks.
//
//===----------------------------------------------------------------------===//
Modified: llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.h?rev=307885&r1=307884&r2=307885&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.h (original)
+++ llvm/trunk/lib/Target/AMDGPU/GCNSchedStrategy.h Wed Jul 12 23:48:39 2017
@@ -66,7 +66,7 @@ class GCNScheduleDAGMILive : public Sche
const SIMachineFunctionInfo &MFI;
- // Occupancy target at the begining of function scheduling cycle.
+ // Occupancy target at the beginning of function scheduling cycle.
unsigned StartingOccupancy;
// Minimal real occupancy recorder for the function.
Modified: llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp?rev=307885&r1=307884&r2=307885&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp Wed Jul 12 23:48:39 2017
@@ -2453,8 +2453,8 @@ bool X86AsmParser::ParseInstruction(Pars
break;
}
- // In MS inline asm curly braces mark the begining/end of a block, therefore
- // they should be interepreted as end of statement
+ // In MS inline asm curly braces mark the beginning/end of a block,
+ // therefore they should be interepreted as end of statement
CurlyAsEndOfStatement =
isParsingIntelSyntax() && isParsingInlineAsm() &&
(getLexer().is(AsmToken::LCurly) || getLexer().is(AsmToken::RCurly));
Modified: llvm/trunk/tools/llvm-c-test/echo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-c-test/echo.cpp?rev=307885&r1=307884&r2=307885&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-c-test/echo.cpp (original)
+++ llvm/trunk/tools/llvm-c-test/echo.cpp Wed Jul 12 23:48:39 2017
@@ -765,7 +765,7 @@ static void declare_symbols(LLVMModuleRe
LLVMValueRef Next = nullptr;
if (!Begin) {
if (End != nullptr)
- report_fatal_error("Range has an end but no begining");
+ report_fatal_error("Range has an end but no beginning");
goto FunDecl;
}
@@ -794,7 +794,7 @@ FunDecl:
End = LLVMGetLastFunction(Src);
if (!Begin) {
if (End != nullptr)
- report_fatal_error("Range has an end but no begining");
+ report_fatal_error("Range has an end but no beginning");
return;
}
@@ -844,7 +844,7 @@ static void clone_symbols(LLVMModuleRef
LLVMValueRef Next = nullptr;
if (!Begin) {
if (End != nullptr)
- report_fatal_error("Range has an end but no begining");
+ report_fatal_error("Range has an end but no beginning");
goto FunClone;
}
@@ -885,7 +885,7 @@ FunClone:
End = LLVMGetLastFunction(Src);
if (!Begin) {
if (End != nullptr)
- report_fatal_error("Range has an end but no begining");
+ report_fatal_error("Range has an end but no beginning");
return;
}
More information about the llvm-commits
mailing list