diff options
author | David Majnemer <david.majnemer@gmail.com> | 2013-06-01 19:43:23 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2013-06-01 19:43:23 +0000 |
commit | 91142c485e1f3d03408d03077f53e2b71f28f7ce (patch) | |
tree | bbe5ef7769798c21039dd88267434c372aea748e /llvm/lib | |
parent | d589391d079d49c8c1c28fe648dae0bd2e20d154 (diff) | |
download | bcm5719-llvm-91142c485e1f3d03408d03077f53e2b71f28f7ce.tar.gz bcm5719-llvm-91142c485e1f3d03408d03077f53e2b71f28f7ce.zip |
SimplifyCFG: Fix typo in comment for ComputeSpeculationCost
llvm-svn: 183078
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp index 07c4d058c8d..95a22c12590 100644 --- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp @@ -281,7 +281,7 @@ static Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue, return BI->getCondition(); } -/// ComputeSpeculuationCost - Compute an abstract "cost" of speculating the +/// ComputeSpeculationCost - Compute an abstract "cost" of speculating the /// given instruction, which is assumed to be safe to speculate. 1 means /// cheap, 2 means less cheap, and UINT_MAX means prohibitively expensive. static unsigned ComputeSpeculationCost(const User *I) { |