Fix typo "fuction" noticed in comments in AssumptionCache.h, and also all the other...
authorNick Lewycky <nicholas@mxc.ca>
Wed, 29 Jul 2015 22:32:47 +0000 (22:32 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 29 Jul 2015 22:32:47 +0000 (22:32 +0000)
Bonus change to remove emacs major mode marker from SystemZMachineFunctionInfo.cpp because emacs already knows it's C++ from the extension. Also fix typo "appeary" in AMDGPUMCAsmInfo.h.

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

17 files changed:
include/llvm-c/Core.h
include/llvm/Analysis/AssumptionCache.h
lib/Target/AArch64/AArch64MachineFunctionInfo.h
lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.h
lib/Target/ARM/ARMMachineFunctionInfo.cpp
lib/Target/ARM/ARMMachineFunctionInfo.h
lib/Target/MSP430/MSP430MachineFunctionInfo.cpp
lib/Target/MSP430/MSP430MachineFunctionInfo.h
lib/Target/SystemZ/SystemZMachineFunctionInfo.cpp
lib/Target/SystemZ/SystemZMachineFunctionInfo.h
lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
lib/Target/X86/X86MachineFunctionInfo.cpp
lib/Target/X86/X86MachineFunctionInfo.h
lib/Target/XCore/XCoreMachineFunctionInfo.cpp
lib/Target/XCore/XCoreMachineFunctionInfo.h
lib/Transforms/Scalar/GVN.cpp
test/CodeGen/X86/x32-function_pointer-3.ll

index 9dbcbfea387fad9a471506e1004bc944d3b144f4..5cfa1e2fc891bd68f7419fc1571adb2810671efd 100644 (file)
@@ -1950,7 +1950,7 @@ void LLVMSetGC(LLVMValueRef Fn, const char *Name);
 void LLVMAddFunctionAttr(LLVMValueRef Fn, LLVMAttribute PA);
 
 /**
- * Add a target-dependent attribute to a fuction
+ * Add a target-dependent attribute to a function
  * @see llvm::AttrBuilder::addAttribute()
  */
 void LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn, const char *A,
index 1f00b691b305267fb4e2e2e486db48d1a1a6a161..9de8ed5d4246666d074af0cc5ef212fe494bc239 100644 (file)
@@ -66,7 +66,7 @@ public:
 
   /// \brief Add an @llvm.assume intrinsic to this function's cache.
   ///
-  /// The call passed in must be an instruction within this fuction and must
+  /// The call passed in must be an instruction within this function and must
   /// not already be in the cache.
   void registerAssumption(CallInst *CI);
 
@@ -79,7 +79,7 @@ public:
   }
 
   /// \brief Access the list of assumption handles currently tracked for this
-  /// fuction.
+  /// function.
   ///
   /// Note that these produce weak handles that may be null. The caller must
   /// handle that case.
index b9e1ace6f0c0fdb526b8dde26a576a249c340a39..cc0ccc2771f9be76d52baf9f9af2fe797d308915 100644 (file)
@@ -1,4 +1,4 @@
-//=- AArch64MachineFuctionInfo.h - AArch64 machine function info --*- C++ -*-=//
+//=- AArch64MachineFunctionInfo.h - AArch64 machine function info -*- C++ -*-=//
 //
 //                     The LLVM Compiler Infrastructure
 //
index a5bac51e356f2404a372d5c6c206a4077cddc600..119dd425916ee9297e4185d00fb083a10ce02249 100644 (file)
@@ -21,7 +21,7 @@ class Triple;
 
 // If you need to create another MCAsmInfo class, which inherits from MCAsmInfo,
 // you will need to make sure your new class sets PrivateGlobalPrefix to
-// a prefix that won't appeary in a fuction name.  The default value
+// a prefix that won't appear in a function name.  The default value
 // for PrivateGlobalPrefix is 'L', so it will consider any function starting
 // with 'L' as a local symbol.
 class AMDGPUMCAsmInfo : public MCAsmInfoELF {
index f5250ff83f0bf5928a47c47c948a4b1c4ea13486..8ca4be725acd713637fd94b3e0bb264a2d2e53a9 100644 (file)
@@ -1,4 +1,4 @@
-//===-- ARMMachineFuctionInfo.cpp - ARM machine function info -------------===//
+//===-- ARMMachineFunctionInfo.cpp - ARM machine function info ------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 2c70f473c8124baa6d06d82dd62ff82b70971632..40ace69e94cae338e2d950c2994b3f772df5a63e 100644 (file)
@@ -1,4 +1,4 @@
-//===-- ARMMachineFuctionInfo.h - ARM machine function info -----*- C++ -*-===//
+//===-- ARMMachineFunctionInfo.h - ARM machine function info ----*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 0f753990845864769c6d294451395f4f5211cfc3..08981b9d49aa6041ba4de072dee6c1f082bef81b 100644 (file)
@@ -1,4 +1,4 @@
-//===-- MSP430MachineFuctionInfo.cpp - MSP430 machine function info -------===//
+//===-- MSP430MachineFucntionInfo.cpp - MSP430 machine function info ------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index fcc5f5b88600b7af249a0a2bc37eadbf23a622c8..2d937318c7e5f2654646a59a41f76210bd926eda 100644 (file)
@@ -1,4 +1,4 @@
-//===- MSP430MachineFuctionInfo.h - MSP430 machine function info -*- C++ -*-==//
+//=== MSP430MachineFunctionInfo.h - MSP430 machine function info -*- C++ -*-==//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 00572d0b9d796aca48ea6789158fe82bfb7bbd47..1a7c0d7f687a7cc349b7a763c07d1b9effa94401 100644 (file)
@@ -1,4 +1,4 @@
-//== SystemZMachineFuctionInfo.cpp - SystemZ machine function info-*- C++ -*-=//
+//=== SystemZMachineFunctionInfo.cpp - SystemZ machine function info ------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 34fc36d6bf6c9d4fc4b3c7361ae41fba9bf0bd62..f4a517bd54dfbf80939ebe24c3b42ddf17e29366 100644 (file)
@@ -1,4 +1,4 @@
-//==- SystemZMachineFuctionInfo.h - SystemZ machine function info -*- C++ -*-=//
+//=== SystemZMachineFunctionInfo.h - SystemZ machine function info -*- C++ -*-//
 //
 //                     The LLVM Compiler Infrastructure
 //
index fc5e910b09efae417587da333aa47d7b1e011415..22ef48116af46b80bf96955ccb85dba969fa2716 100644 (file)
@@ -1,4 +1,4 @@
-// WebAssemblyMachineFuctionInfo.h-WebAssembly machine function info -*- C++ -*-
+// WebAssemblyMachineFunctionInfo.h-WebAssembly machine function info-*- C++ -*-
 //
 //                     The LLVM Compiler Infrastructure
 //
index ac2cdc8c656754fe2ad93a72869ed58e10694293..c9e636f1eb00b78e584fa3f50c5847a0b8467617 100644 (file)
@@ -1,4 +1,4 @@
-//===-- X86MachineFuctionInfo.cpp - X86 machine function info -------------===//
+//===-- X86MachineFunctionInfo.cpp - X86 machine function info ------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 253f40ace6353903cf667817d7e123dd274cc415..092f5b10d21ca48f8c5c92b26158e166d8842c8a 100644 (file)
@@ -1,4 +1,4 @@
-//===-- X86MachineFuctionInfo.h - X86 machine function info -----*- C++ -*-===//
+//===-- X86MachineFunctionInfo.h - X86 machine function info ----*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 9ef9752d0a5b0432075da3ae87f69dbb781663bf..6c770969e32ed276ce43f6eb4298c95f70b57a1d 100644 (file)
@@ -1,4 +1,4 @@
-//===-- XCoreMachineFuctionInfo.cpp - XCore machine function info ---------===//
+//===-- XCoreMachineFunctionInfo.cpp - XCore machine function info --------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 078ffde18fb9cbde962dbab8a4d1fd427db32fbc..cdcc52fdc32d0b6ddbe4d5751cb37cc6a8b35173 100644 (file)
@@ -1,4 +1,4 @@
-//===-- XCoreMachineFuctionInfo.h - XCore machine function info -*- C++ -*-===//
+//===- XCoreMachineFunctionInfo.h - XCore machine function info -*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 7f1517710b3cbfa503d9a172964b6d06f1a2570a..351debb59dd525627ab7238db5ffab952271cbda 100644 (file)
@@ -696,7 +696,7 @@ namespace {
     }
 
 
-    // Helper fuctions of redundant load elimination 
+    // Helper functions of redundant load elimination 
     bool processLoad(LoadInst *L);
     bool processNonLocalLoad(LoadInst *L);
     void AnalyzeLoadAvailability(LoadInst *LI, LoadDepVect &Deps, 
index 5eaf85d8f9315bbc9aba2b268bb767d8856e17bd..f5687b8a9de2f8988a2eedbb8b8b37361eb02e3c 100644 (file)
@@ -3,7 +3,7 @@
 
 ; Test calling function pointer passed in struct
 
-;    The fuction argument `h' in
+;    The function argument `h' in
 
 ;    struct foo {
 ;      void (*f) (void);