[llvm] r306599 - Fix a typo.
Eric Christopher via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 28 14:10:31 PDT 2017
Author: echristo
Date: Wed Jun 28 14:10:31 2017
New Revision: 306599
URL: http://llvm.org/viewvc/llvm-project?rev=306599&view=rev
Log:
Fix a typo.
Modified:
llvm/trunk/lib/Analysis/InlineCost.cpp
Modified: llvm/trunk/lib/Analysis/InlineCost.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/InlineCost.cpp?rev=306599&r1=306598&r2=306599&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/InlineCost.cpp (original)
+++ llvm/trunk/lib/Analysis/InlineCost.cpp Wed Jun 28 14:10:31 2017
@@ -1039,7 +1039,7 @@ bool CallAnalyzer::visitSwitchInst(Switc
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
More information about the llvm-commits
mailing list