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

David Blaikie dblaikie at gmail.com
Sat Jun 1 13:01:15 PDT 2013


On Sat, Jun 1, 2013 at 12:43 PM, David Majnemer
<david.majnemer at gmail.com> wrote:
> 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

Generally (as per the LLVM style guide) we prefer to just use \brief
now, thus avoiding the name duplication (& possible name mismatch).

>
> 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) {
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list