Two comment typo fixes in lib/CodeGen/SelectionDAG/DAGCombiner.cpp.
authorJonas Paulsson <jonas.paulsson@ericsson.com>
Tue, 10 Feb 2015 15:34:29 +0000 (15:34 +0000)
committerJonas Paulsson <jonas.paulsson@ericsson.com>
Tue, 10 Feb 2015 15:34:29 +0000 (15:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228700 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/DAGCombiner.cpp

index 2c4f163d0b8a86e2c5776ce6c28efb3cbc12cea9..cc7388b4bb5f79c84004918173156a1da99e7cae 100644 (file)
@@ -1501,7 +1501,7 @@ SDValue DAGCombiner::visitTokenFactor(SDNode *N) {
       switch (Op.getOpcode()) {
       case ISD::EntryToken:
         // Entry tokens don't need to be added to the list. They are
-        // rededundant.
+        // redundant.
         Changed = true;
         break;
 
@@ -1530,7 +1530,7 @@ SDValue DAGCombiner::visitTokenFactor(SDNode *N) {
 
   SDValue Result;
 
-  // If we've change things around then replace token factor.
+  // If we've changed things around then replace token factor.
   if (Changed) {
     if (Ops.empty()) {
       // The entry token is the only possible outcome.