Typo.
authorEric Christopher <echristo@gmail.com>
Sat, 7 Mar 2015 01:39:09 +0000 (01:39 +0000)
committerEric Christopher <echristo@gmail.com>
Sat, 7 Mar 2015 01:39:09 +0000 (01:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231547 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/TargetLibraryInfo.h
include/llvm/DebugInfo/DWARF/DWARFFormValue.h
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
lib/Target/X86/X86ISelLowering.cpp

index 7ba44399228b1de936b498716c273282c7e5fa74..389df4274a31e6c7cc018e72cfd2319e22cdf543 100644 (file)
@@ -133,7 +133,7 @@ public:
     return Impl->getLibFunc(funcName, F);
   }
 
-  /// \brief Tests wether a library function is available.
+  /// \brief Tests whether a library function is available.
   bool has(LibFunc::Func F) const {
     return Impl->getState(F) != TargetLibraryInfoImpl::Unavailable;
   }
index f12c491af5c08fcfeb642043baf90da04c672101..02f468189d2614cba7937841fcdcd25918873bc8 100644 (file)
@@ -63,7 +63,7 @@ public:
   /// The passed DWARFUnit is allowed to be nullptr, in which
   /// case no relocation processing will be performed and some
   /// kind of forms that depend on Unit information are disallowed.
-  /// \returns wether the extraction succeeded.
+  /// \returns whether the extraction succeeded.
   bool extractValue(DataExtractor data, uint32_t *offset_ptr,
                     const DWARFUnit *u);
   bool isInlinedCStr() const {
index ac11c4d642b74e8aa2bb0b89d67c3af88a196f8e..c8044a1e25469eb07b68ee30fe9ae99f26515ef2 100644 (file)
@@ -299,7 +299,7 @@ static AArch64_AM::ShiftExtendType getShiftTypeForNode(SDValue N) {
   }
 }
 
-/// \brief Determine wether it is worth to fold V into an extended register.
+/// \brief Determine whether it is worth to fold V into an extended register.
 bool AArch64DAGToDAGISel::isWorthFolding(SDValue V) const {
   // it hurts if the value is used at least twice, unless we are optimizing
   // for code size.
index c558fb3add5205e6fc3f530ba8abb88caadac9c5..01acbc997508797ec304feb2e9ece5f6d5a497df 100644 (file)
@@ -9020,7 +9020,7 @@ static SDValue lowerVectorShuffleAsLanePermuteAndBlend(SDLoc DL, MVT VT,
   int LaneSize = Mask.size() / 2;
 
   // If there are only inputs from one 128-bit lane, splitting will in fact be
-  // less expensive. The flags track wether the given lane contains an element
+  // less expensive. The flags track whether the given lane contains an element
   // that crosses to another lane.
   bool LaneCrossing[2] = {false, false};
   for (int i = 0, Size = Mask.size(); i < Size; ++i)