diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2015-03-10 18:37:05 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2015-03-10 18:37:05 +0000 |
| commit | 51bd9421ac42bab87fcdb9adbcd2fe125b8dac23 (patch) | |
| tree | 70c75b275d1d01168d3eab23585e2216d0a60120 /llvm/lib/Transforms | |
| parent | d910d16c8935bb7a8761a9c16425d13b5fe24cf1 (diff) | |
| download | bcm5719-llvm-51bd9421ac42bab87fcdb9adbcd2fe125b8dac23.tar.gz bcm5719-llvm-51bd9421ac42bab87fcdb9adbcd2fe125b8dac23.zip | |
fix typos; NFC
llvm-svn: 231812
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Utils/CloneFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp b/llvm/lib/Transforms/Utils/CloneFunction.cpp index 10e6cd11630..9876ee19a7b 100644 --- a/llvm/lib/Transforms/Utils/CloneFunction.cpp +++ b/llvm/lib/Transforms/Utils/CloneFunction.cpp @@ -624,7 +624,7 @@ void llvm::CloneAndPruneIntoFromInst(Function *NewFunc, const Function *OldFunc, recursivelySimplifyInstruction(PN); // Now that the inlined function body has been fully constructed, go through - // and zap unconditional fall-through branches. This happen all the time when + // and zap unconditional fall-through branches. This happens all the time when // specializing code: code specialization turns conditional branches into // uncond branches, and this code folds them. Function::iterator Begin = cast<BasicBlock>(VMap[StartingBB]); @@ -675,7 +675,7 @@ void llvm::CloneAndPruneIntoFromInst(Function *NewFunc, const Function *OldFunc, // Do not increment I, iteratively merge all things this block branches to. } - // Make a final pass over the basic blocks from theh old function to gather + // Make a final pass over the basic blocks from the old function to gather // any return instructions which survived folding. We have to do this here // because we can iteratively remove and merge returns above. for (Function::iterator I = cast<BasicBlock>(VMap[StartingBB]), |

