summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-03-06 15:07:43 +0000
committerSanjay Patel <spatel@rotateright.com>2017-03-06 15:07:43 +0000
commit5273afd4bb6250e5e42089a0f8a1a3a094bc9409 (patch)
tree8e53f8d7e37a79b5fa971d40c74e999ec74c7ce4 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parentd7b45bc76da7220399a0ee5f2409a03d3b5fd229 (diff)
downloadbcm5719-llvm-5273afd4bb6250e5e42089a0f8a1a3a094bc9409.tar.gz
bcm5719-llvm-5273afd4bb6250e5e42089a0f8a1a3a094bc9409.zip
[DAG] fix typo in comment; NFC
llvm-svn: 297011
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index e4d14299904..60842b71615 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -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())
OpenPOWER on IntegriCloud