]> granicus.if.org Git - llvm/commitdiff
Fix typos: (re)?sor?uce -> (re)?source
authorFangrui Song <maskray@google.com>
Fri, 26 Apr 2019 05:56:23 +0000 (05:56 +0000)
committerFangrui Song <maskray@google.com>
Fri, 26 Apr 2019 05:56:23 +0000 (05:56 +0000)
Closes: https://github.com/llvm/llvm-project/pull/10
In-collaboration-with: Olivier Cochard-LabbĂ© <olivier@FreeBSD.org>
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
Differential Revision: https://reviews.llvm.org/D61021

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359277 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/PseudoSourceValue.h
include/llvm/IR/CallSite.h
include/llvm/Target/TargetSchedule.td
tools/llvm-rc/ResourceFileWriter.cpp

index fb431d361021e8df9a61d6908c70927223bfae47..4b3cc9145a134762667bdb5fd1759ece0c0c4106 100644 (file)
@@ -122,7 +122,7 @@ public:
   bool mayAlias(const MachineFrameInfo *) const override;
 };
 
-/// A specialized pseudo soruce value for holding GlobalValue values.
+/// A specialized pseudo source value for holding GlobalValue values.
 class GlobalValuePseudoSourceValue : public CallEntryPseudoSourceValue {
   const GlobalValue *GV;
 
index 1454874e4efea855663403f48b879860257ba7df..183e387a422e5171458356ee782e21e55d66fced 100644 (file)
@@ -724,7 +724,7 @@ public:
     /// through (also identified by position but in the call site instruction).
     ///
     /// NOTE that we use LLVM argument numbers (starting at 0) and not
-    /// clang/soruce argument numbers (starting at 1). The -1 entries represent
+    /// clang/source argument numbers (starting at 1). The -1 entries represent
     /// unknown values that are passed to the callee.
     using ParameterEncodingTy = SmallVector<int, 0>;
     ParameterEncodingTy ParameterEncoding;
index cbfad5fcdeae14f610ca73a88007fba02a5ec176..a36d259df83176620f52c98b634764358161175c 100644 (file)
@@ -135,7 +135,7 @@ class ProcResourceKind;
 //
 // An optional Super resource may be given to model these resources as
 // a subset of the more general super resources. Using one of these
-// resources implies using one of the super resoruces.
+// resources implies using one of the super resources.
 //
 // ProcResourceUnits normally model a few buffered resources within an
 // out-of-order engine. Buffered resources may be held for multiple
index 78d99e7ebcb4073f4b698bb6c69fa7f535f061e7..44b3fe143ce89e59445fe68b6d532a22e3e4fb97 100644 (file)
@@ -722,7 +722,7 @@ Error ResourceFileWriter::writeBitmapBody(const RCResource *Base) {
 
 // --- CursorResource and IconResource helpers. --- //
 
-// ICONRESDIR structure. Describes a single icon in resouce group.
+// ICONRESDIR structure. Describes a single icon in resource group.
 //
 // Ref: msdn.microsoft.com/en-us/library/windows/desktop/ms648016.aspx
 struct IconResDir {