summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2017-06-24 15:43:33 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2017-06-24 15:43:33 +0000
commitb300824ee72224ad0887225b99b7e56997cdc3d3 (patch)
tree8a20a3691697e5220eabdb7f3f01110e9c70abb6 /llvm/lib/Transforms
parent95f24dca98e63f14c3ab2585cb37e76839fc120f (diff)
downloadbcm5719-llvm-b300824ee72224ad0887225b99b7e56997cdc3d3.tar.gz
bcm5719-llvm-b300824ee72224ad0887225b99b7e56997cdc3d3.zip
fix trivial typos in comment, NFC
dereferencable -> dereferenceable llvm-svn: 306210
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/SROA.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/SROA.cpp b/llvm/lib/Transforms/Scalar/SROA.cpp
index f32d2d58229..80fbbeb6829 100644
--- a/llvm/lib/Transforms/Scalar/SROA.cpp
+++ b/llvm/lib/Transforms/Scalar/SROA.cpp
@@ -1252,7 +1252,7 @@ static bool isSafeSelectToSpeculate(SelectInst &SI) {
if (!LI || !LI->isSimple())
return false;
- // Both operands to the select need to be dereferencable, either
+ // Both operands to the select need to be dereferenceable, either
// absolutely (e.g. allocas) or at this point because we can see other
// accesses to it.
if (!isSafeToLoadUnconditionally(TValue, LI->getAlignment(), DL, LI))
OpenPOWER on IntegriCloud