[llvm] r297011 - [DAG] fix typo in comment; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 6 07:07:44 PST 2017
Author: spatel
Date: Mon Mar 6 09:07:43 2017
New Revision: 297011
URL: http://llvm.org/viewvc/llvm-project?rev=297011&view=rev
Log:
[DAG] fix typo in comment; NFC
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=297011&r1=297010&r2=297011&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Mon Mar 6 09:07:43 2017
@@ -3264,7 +3264,7 @@ void SelectionDAGBuilder::visitGetElemen
// 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())
More information about the llvm-commits
mailing list