summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InlineCost.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-15 05:18:47 +0000
committerChris Lattner <sabre@nondot.org>2011-04-15 05:18:47 +0000
commit0ab5e2cdedba59b4f81152d72d70e1796f796834 (patch)
tree2b0d5d1a27ca9c3a382b2c0ed091fd7aebc857cc /llvm/lib/Analysis/InlineCost.cpp
parentb5e3e9dd27dce1b3bb10c4f453cea84a0b35bbca (diff)
downloadbcm5719-llvm-0ab5e2cdedba59b4f81152d72d70e1796f796834.tar.gz
bcm5719-llvm-0ab5e2cdedba59b4f81152d72d70e1796f796834.zip
Fix a ton of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes! llvm-svn: 129558
Diffstat (limited to 'llvm/lib/Analysis/InlineCost.cpp')
-rw-r--r--llvm/lib/Analysis/InlineCost.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/InlineCost.cpp b/llvm/lib/Analysis/InlineCost.cpp
index 47f91cfc3be..a820ecf0372 100644
--- a/llvm/lib/Analysis/InlineCost.cpp
+++ b/llvm/lib/Analysis/InlineCost.cpp
@@ -501,7 +501,7 @@ InlineCost InlineCostAnalyzer::getInlineCost(CallSite CS,
return InlineCost::getAlways();
if (CalleeFI->Metrics.usesDynamicAlloca) {
- // Get infomation about the caller.
+ // Get information about the caller.
FunctionInfo &CallerFI = CachedFunctionInfo[Caller];
// If we haven't calculated this information yet, do so now.
@@ -549,7 +549,7 @@ InlineCost InlineCostAnalyzer::getSpecializationCost(Function *Callee,
int Cost = 0;
- // Look at the orginal size of the callee. Each instruction counts as 5.
+ // Look at the original size of the callee. Each instruction counts as 5.
Cost += CalleeFI->Metrics.NumInsts * InlineConstants::InstrCost;
// Offset that with the amount of code that can be constant-folded
OpenPOWER on IntegriCloud