]> granicus.if.org Git - llvm/commitdiff
[DAG] fix typo in comment; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 6 Mar 2017 15:07:43 +0000 (15:07 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 6 Mar 2017 15:07:43 +0000 (15:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297011 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

index e4d14299904469c94c4b38b850ced0a0864874c4..60842b71615e956bf10f1225e37f94e59e443fc2 100644 (file)
@@ -3264,7 +3264,7 @@ void SelectionDAGBuilder::visitGetElementPtr(const User &I) {
         // N = N + Offset
         uint64_t Offset = DL->getStructLayout(StTy)->getElementOffset(Field);
 
-        // In an inbouds GEP with an offset that is nonnegative even when
+        // In an inbounds GEP with an offset that is nonnegative even when
         // interpreted as signed, assume there is no unsigned overflow.
         SDNodeFlags Flags;
         if (int64_t(Offset) >= 0 && cast<GEPOperator>(I).isInBounds())