fix comment typo
authorNico Weber <nicolasweber@gmx.de>
Mon, 27 Aug 2018 14:25:22 +0000 (14:25 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 27 Aug 2018 14:25:22 +0000 (14:25 +0000)
llvm-svn: 340744

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

index 12c5810..22842d5 100644 (file)
@@ -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.
index 6743e19..c0f75dd 100644 (file)
@@ -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
index c944046..4827bd8 100644 (file)
@@ -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