summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-08-30 13:19:23 +0000
committerSanjay Patel <spatel@rotateright.com>2017-08-30 13:19:23 +0000
commit7b8183fdabfe88add2514ebecf2ae621f8ef91aa (patch)
tree3c29614d45e294bb9318b8d472068819588f7fa4 /llvm/lib/Target
parent7e5af84cae92b4621ec90f7190d675835758b2df (diff)
downloadbcm5719-llvm-7b8183fdabfe88add2514ebecf2ae621f8ef91aa.tar.gz
bcm5719-llvm-7b8183fdabfe88add2514ebecf2ae621f8ef91aa.zip
fix more typos; NFC
llvm-svn: 312120
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/X86CmovConversion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86CmovConversion.cpp b/llvm/lib/Target/X86/X86CmovConversion.cpp
index f84edaeb4ab..f7967004e20 100644
--- a/llvm/lib/Target/X86/X86CmovConversion.cpp
+++ b/llvm/lib/Target/X86/X86CmovConversion.cpp
@@ -9,7 +9,7 @@
/// \file
/// This file implements a pass that converts X86 cmov instructions into
/// branches when profitable. This pass is conservative. It transforms if and
-/// only if it can gaurantee a gain with high confidence.
+/// only if it can guarantee a gain with high confidence.
///
/// Thus, the optimization applies under the following conditions:
/// 1. Consider as candidates only CMOVs in innermost loops (assume that
@@ -27,7 +27,7 @@
/// depth cost by some threshold.
/// b. CMOV is considered profitable if the cost of its condition is higher
/// than the average cost of its true-value and false-value by 25% of
-/// branch-misprediction-penalty. This assures no degredation even with
+/// branch-misprediction-penalty. This assures no degradation even with
/// 25% branch misprediction.
///
/// Note: This pass is assumed to run on SSA machine code.
OpenPOWER on IntegriCloud