Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit e6bc60b

Browse files
committed
Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306599 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent a143b4a commit e6bc60b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Analysis/InlineCost.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ bool CallAnalyzer::visitSwitchInst(SwitchInst &SI) {
10391039
if (isa<ConstantInt>(V))
10401040
return true;
10411041

1042-
// Assume the most general case where the swith is lowered into
1042+
// Assume the most general case where the switch is lowered into
10431043
// either a jump table, bit test, or a balanced binary tree consisting of
10441044
// case clusters without merging adjacent clusters with the same
10451045
// destination. We do not consider the switches that are lowered with a mix

0 commit comments

Comments
 (0)