summaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-06-01 19:43:23 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-06-01 19:43:23 +0000
commitf7dad7833c6dc64e39dd5d4c633da4923478655a (patch)
tree3e563c5ee6b34116ee7b07198416ecd06f959634 /lib/Transforms
parent7c2b4be2a718b994298803dd09e81e49a016ffb2 (diff)
downloadllvm-f7dad7833c6dc64e39dd5d4c633da4923478655a.tar.gz
llvm-f7dad7833c6dc64e39dd5d4c633da4923478655a.tar.bz2
llvm-f7dad7833c6dc64e39dd5d4c633da4923478655a.tar.xz
SimplifyCFG: Fix typo in comment for ComputeSpeculationCost
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183078 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Utils/SimplifyCFG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp
index 07c4d058c8..95a22c1259 100644
--- a/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/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) {