SimplifyCFG: Fix typo in comment for ComputeSpeculationCost
authorDavid Majnemer <david.majnemer@gmail.com>
Sat, 1 Jun 2013 19:43:23 +0000 (19:43 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sat, 1 Jun 2013 19:43:23 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183078 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/SimplifyCFG.cpp

index 07c4d058c8d4f527ed84c8acb5eea459309badab..95a22c12590817308bfffbd4eaad2d6427875138 100644 (file)
@@ -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) {