[llvm] r183078 - SimplifyCFG: Fix typo in comment for ComputeSpeculationCost

David Majnemer david.majnemer at gmail.com
Sat Jun 1 12:43:23 PDT 2013


Author: majnemer
Date: Sat Jun  1 14:43:23 2013
New Revision: 183078

URL: http://llvm.org/viewvc/llvm-project?rev=183078&view=rev
Log:
SimplifyCFG: Fix typo in comment for ComputeSpeculationCost

Modified:
    llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp

Modified: llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp?rev=183078&r1=183077&r2=183078&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp Sat Jun  1 14:43:23 2013
@@ -281,7 +281,7 @@ static Value *GetIfCondition(BasicBlock
   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) {





More information about the llvm-commits mailing list