[llvm] r343750 - [LegalizeIntegerTypes] Fix typo in comment. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 3 19:40:35 PDT 2018


Author: ctopper
Date: Wed Oct  3 19:40:35 2018
New Revision: 343750

URL: http://llvm.org/viewvc/llvm-project?rev=343750&view=rev
Log:
[LegalizeIntegerTypes] Fix typo in comment. NFC

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp?rev=343750&r1=343749&r2=343750&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp Wed Oct  3 19:40:35 2018
@@ -994,7 +994,7 @@ void DAGTypeLegalizer::PromoteSetCCOpera
     // We would prefer to promote the comparison operand with sign extension.
     // If the width of OpL/OpR excluding the duplicated sign bits is no greater
     // than the width of NewLHS/NewRH, we can avoid inserting real truncate
-    // instruction, which is redudant eventually.
+    // instruction, which is redundant eventually.
     unsigned OpLEffectiveBits =
         OpL.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(OpL) + 1;
     unsigned OpREffectiveBits =




More information about the llvm-commits mailing list