summaryrefslogtreecommitdiffstats
path: root/clang/utils
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-07-14 19:42:55 +0000
committerAlp Toker <alp@nuanti.com>2014-07-14 19:42:55 +0000
commit958027b698525787804ba5bf8ba45326a55dc274 (patch)
tree592e1961fbbd281867eb1ef884046b6b88276b5e /clang/utils
parent973b2ff322ca2a04540aa035dc80ae71e6c25d7e (diff)
downloadbcm5719-llvm-958027b698525787804ba5bf8ba45326a55dc274.tar.gz
bcm5719-llvm-958027b698525787804ba5bf8ba45326a55dc274.zip
Fix typos
Also consolidate 'backward compatibility' llvm-svn: 212974
Diffstat (limited to 'clang/utils')
-rw-r--r--clang/utils/TableGen/NeonEmitter.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/utils/TableGen/NeonEmitter.cpp b/clang/utils/TableGen/NeonEmitter.cpp
index d7e418a810d..cd27fbcdf69 100644
--- a/clang/utils/TableGen/NeonEmitter.cpp
+++ b/clang/utils/TableGen/NeonEmitter.cpp
@@ -2093,9 +2093,8 @@ NeonEmitter::genIntrinsicRangeCheckCode(raw_ostream &OS,
// their own builtin as they use the non-splat variant.
if (Def->hasSplat())
continue;
- // Functions which do not have an immediate do not ned to have range
- // checking
- // code emitted.
+ // Functions which do not have an immediate do not need to have range
+ // checking code emitted.
if (!Def->hasImmediate())
continue;
if (Emitted.find(Def->getMangledName()) != Emitted.end())
@@ -2121,7 +2120,7 @@ NeonEmitter::genIntrinsicRangeCheckCode(raw_ostream &OS,
UpperBound = utostr(Def->getReturnType().getElementSizeInBits() - 1);
} else if (R->getValueAsBit("isShift")) {
- // Builtins which are overloaded by type will need to have thier upper
+ // Builtins which are overloaded by type will need to have their upper
// bound computed at Sema time based on the type constant.
// Right shifts have an 'r' in the name, left shifts do not.
OpenPOWER on IntegriCloud