[llvm] r340744 - fix comment typo

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 27 07:25:22 PDT 2018


Author: nico
Date: Mon Aug 27 07:25:22 2018
New Revision: 340744

URL: http://llvm.org/viewvc/llvm-project?rev=340744&view=rev
Log:
fix comment typo

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCCallingConv.td
    llvm/trunk/lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
    llvm/trunk/test/tools/dsymutil/X86/odr-uniquing.cpp

Modified: llvm/trunk/lib/Target/PowerPC/PPCCallingConv.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCCallingConv.td?rev=340744&r1=340743&r2=340744&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCCallingConv.td (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCCallingConv.td Mon Aug 27 07:25:22 2018
@@ -338,7 +338,7 @@ def CSR_NoRegs : CalleeSavedRegs<(add)>;
 // coldcc calling convection marks most registers as non-volatile.
 // Do not include r1 since the stack pointer is never considered a CSR.
 // Do not include r2, since it is the TOC register and is added depending
-// on wether or not the function uses the TOC and is a non-leaf.
+// on whether or not the function uses the TOC and is a non-leaf.
 // Do not include r0,r11,r13 as they are optional in functional linkage
 // and value may be altered by inter-library calls.
 // Do not include r12 as it is used as a scratch register.

Modified: llvm/trunk/lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SpeculateAroundPHIs.cpp?rev=340744&r1=340743&r2=340744&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SpeculateAroundPHIs.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SpeculateAroundPHIs.cpp Mon Aug 27 07:25:22 2018
@@ -33,7 +33,7 @@ STATISTIC(NumSpeculatedInstructions,
 STATISTIC(NumNewRedundantInstructions,
           "Number of new, redundant instructions inserted");
 
-/// Check wether speculating the users of a PHI node around the PHI
+/// Check whether speculating the users of a PHI node around the PHI
 /// will be safe.
 ///
 /// This checks both that all of the users are safe and also that all of their

Modified: llvm/trunk/test/tools/dsymutil/X86/odr-uniquing.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/dsymutil/X86/odr-uniquing.cpp?rev=340744&r1=340743&r2=340744&view=diff
==============================================================================
--- llvm/trunk/test/tools/dsymutil/X86/odr-uniquing.cpp (original)
+++ llvm/trunk/test/tools/dsymutil/X86/odr-uniquing.cpp Mon Aug 27 07:25:22 2018
@@ -79,7 +79,7 @@ void foo() {
   U u;
 }
 
-// The second CU contents depend on wether we disabled ODR uniquing or
+// The second CU contents depend on whether we disabled ODR uniquing or
 // not.
 
 // CHECK: TAG_compile_unit




More information about the llvm-commits mailing list