summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InlineCost.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2017-06-28 21:10:31 +0000
committerEric Christopher <echristo@gmail.com>2017-06-28 21:10:31 +0000
commit7ad02eee8a5a88e3fd3f9dc53648b0efd33df211 (patch)
tree23fe82380d8f911f66f4f5e8ce03452c65d1c4a1 /llvm/lib/Analysis/InlineCost.cpp
parent4621387d9d0e76037ad605765e51884914df1da2 (diff)
downloadbcm5719-llvm-7ad02eee8a5a88e3fd3f9dc53648b0efd33df211.tar.gz
bcm5719-llvm-7ad02eee8a5a88e3fd3f9dc53648b0efd33df211.zip
Fix a typo.
llvm-svn: 306599
Diffstat (limited to 'llvm/lib/Analysis/InlineCost.cpp')
-rw-r--r--llvm/lib/Analysis/InlineCost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/InlineCost.cpp b/llvm/lib/Analysis/InlineCost.cpp
index 15e864ad494..35693666aa0 100644
--- a/llvm/lib/Analysis/InlineCost.cpp
+++ b/llvm/lib/Analysis/InlineCost.cpp
@@ -1039,7 +1039,7 @@ bool CallAnalyzer::visitSwitchInst(SwitchInst &SI) {
if (isa<ConstantInt>(V))
return true;
- // Assume the most general case where the swith is lowered into
+ // Assume the most general case where the switch is lowered into
// either a jump table, bit test, or a balanced binary tree consisting of
// case clusters without merging adjacent clusters with the same
// destination. We do not consider the switches that are lowered with a mix
OpenPOWER on IntegriCloud