diff options
| author | Alp Toker <alp@nuanti.com> | 2014-07-14 19:42:55 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-07-14 19:42:55 +0000 |
| commit | 958027b698525787804ba5bf8ba45326a55dc274 (patch) | |
| tree | 592e1961fbbd281867eb1ef884046b6b88276b5e /clang/utils | |
| parent | 973b2ff322ca2a04540aa035dc80ae71e6c25d7e (diff) | |
| download | bcm5719-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.cpp | 7 |
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. |

