[llvm] r337132 - [DAGCombiner] fix typo in comment; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 15 10:09:36 PDT 2018


Author: spatel
Date: Sun Jul 15 10:09:35 2018
New Revision: 337132

URL: http://llvm.org/viewvc/llvm-project?rev=337132&view=rev
Log:
[DAGCombiner] fix typo in comment; NFC

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

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=337132&r1=337131&r2=337132&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Sun Jul 15 10:09:35 2018
@@ -8115,7 +8115,7 @@ static SDValue foldExtendedSignBitTest(S
   EVT VT = N->getValueType(0);
   EVT XVT = X.getValueType();
   // setge X, C is canonicalized to setgt, so we do not need to match that
-  // pattern. The setlt sibling is folded in SimplifySelectCC() becaus it does
+  // pattern. The setlt sibling is folded in SimplifySelectCC() because it does
   // not require the 'not' op.
   if (CC == ISD::SETGT && isAllOnesConstant(Ones) && VT == XVT) {
     // Invert and smear/shift the sign bit:




More information about the llvm-commits mailing list