summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-15 01:52:21 +0000
committerAlp Toker <alp@nuanti.com>2014-05-15 01:52:21 +0000
commitbeaca19c7cd18df3df2ffb8fdeb216f262b807b8 (patch)
tree86630b2f0272f2f4dd12988e69d9fe8d9e1b339b /llvm/lib/Transforms
parentc3f36af8d0bf287450f54f51ba73a5882689f839 (diff)
downloadbcm5719-llvm-beaca19c7cd18df3df2ffb8fdeb216f262b807b8.tar.gz
bcm5719-llvm-beaca19c7cd18df3df2ffb8fdeb216f262b807b8.zip
Fix typos
llvm-svn: 208839
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp b/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
index 272fe97b804..0ccf29c225b 100644
--- a/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
+++ b/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
@@ -107,7 +107,7 @@ namespace {
/// In real programs, a GEP index may be more complicated than a simple addition
/// of something and a constant integer which can be trivially splitted. For
/// example, to split ((a << 3) | 5) + b, we need to search deeper for the
-/// constant offset, so that we can seperate the index to (a << 3) + b and 5.
+/// constant offset, so that we can separate the index to (a << 3) + b and 5.
///
/// Therefore, this class looks into the expression that computes a given GEP
/// index, and tries to find a constant integer that can be hoisted to the
@@ -179,7 +179,7 @@ class ConstantOffsetExtractor {
};
/// \brief A pass that tries to split every GEP in the function into a variadic
-/// base and a constant offset. It is a FuntionPass because searching for the
+/// base and a constant offset. It is a FunctionPass because searching for the
/// constant offset may inspect other basic blocks.
class SeparateConstOffsetFromGEP : public FunctionPass {
public:
OpenPOWER on IntegriCloud