diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-06-14 05:41:49 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-06-14 05:41:49 +0000 |
commit | f209649dfcfef475de740a4755a6c480db360a6f (patch) | |
tree | fedb62ca57604cfaf31b033d7666dc7e8449fc6a /llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp | |
parent | 706ea47bdc9f72fdb1a00cec228ffe2fac9a7c1c (diff) | |
download | bcm5719-llvm-f209649dfcfef475de740a4755a6c480db360a6f.tar.gz bcm5719-llvm-f209649dfcfef475de740a4755a6c480db360a6f.zip |
[NFC] fix trivial typos in comments
llvm-svn: 334687
Diffstat (limited to 'llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp index 9c02fe3d1c5..391e43f7912 100644 --- a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp +++ b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp @@ -1376,7 +1376,7 @@ public: assert(OldI != NewI && "Disallowed at construction?!"); assert((!IsDeoptimize || !New) && - "Deoptimize instrinsics are not replaced!"); + "Deoptimize intrinsics are not replaced!"); Old = nullptr; New = nullptr; @@ -1386,7 +1386,7 @@ public: if (IsDeoptimize) { // Note: we've inserted instructions, so the call to llvm.deoptimize may - // not necessarilly be followed by the matching return. + // not necessarily be followed by the matching return. auto *RI = cast<ReturnInst>(OldI->getParent()->getTerminator()); new UnreachableInst(RI->getContext(), RI); RI->eraseFromParent(); @@ -1984,7 +1984,7 @@ chainToBasePointerCost(SmallVectorImpl<Instruction*> &Chain, Cost += 2; } else { - llvm_unreachable("unsupported instruciton type during rematerialization"); + llvm_unreachable("unsupported instruction type during rematerialization"); } } |