summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ValueTracking.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-03-02 18:57:02 +0000
committerVedant Kumar <vsk@apple.com>2018-03-02 18:57:02 +0000
commit1a8456da17075539099ccb0d625fda816b62bcb2 (patch)
tree849f70c9c651d5bff12e8e1575228856146a16e9 /llvm/lib/Analysis/ValueTracking.cpp
parent46b083ef4a3424b1e0e6b488d390ce759759f8e9 (diff)
downloadbcm5719-llvm-1a8456da17075539099ccb0d625fda816b62bcb2.tar.gz
bcm5719-llvm-1a8456da17075539099ccb0d625fda816b62bcb2.zip
Fix more spelling mistakes in comments of LLVM Analysis passes
Patch by Reshabh Sharma! Differential Revision: https://reviews.llvm.org/D43939 llvm-svn: 326601
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
-rw-r--r--llvm/lib/Analysis/ValueTracking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp
index e8d8dfc6eff..411ede451b2 100644
--- a/llvm/lib/Analysis/ValueTracking.cpp
+++ b/llvm/lib/Analysis/ValueTracking.cpp
@@ -4508,7 +4508,7 @@ static SelectPatternResult matchSelectPattern(CmpInst::Predicate Pred,
///
/// The function processes the case when type of true and false values of a
/// select instruction differs from type of the cmp instruction operands because
-/// of a cast instructon. The function checks if it is legal to move the cast
+/// of a cast instruction. The function checks if it is legal to move the cast
/// operation after "select". If yes, it returns the new second value of
/// "select" (with the assumption that cast is moved):
/// 1. As operand of cast instruction when both values of "select" are same cast
OpenPOWER on IntegriCloud