summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-01-18 17:50:23 +0000
committerSanjay Patel <spatel@rotateright.com>2016-01-18 17:50:23 +0000
commitd09b44a752318062532b26875372722df10c84f0 (patch)
treefcef938298f91bb50130356726c343869c26729a /llvm/lib
parentbace94eda8f21212c7f5abf4670e25ecbf9df8cf (diff)
downloadbcm5719-llvm-d09b44a752318062532b26875372722df10c84f0.tar.gz
bcm5719-llvm-d09b44a752318062532b26875372722df10c84f0.zip
fix typo; NFC
llvm-svn: 258057
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp b/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
index 76cefd97cd8..9e88598922d 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
@@ -1413,7 +1413,7 @@ Instruction *InstCombiner::visitAnd(BinaryOperator &I) {
if (B == tmpOp0) {
std::swap(A, B);
}
- // Notice that the patten (A&(~B)) is actually (A&(-1^B)), so if
+ // Notice that the pattern (A&(~B)) is actually (A&(-1^B)), so if
// A is originally -1 (or a vector of -1 and undefs), then we enter
// an endless loop. By checking that A is non-constant we ensure that
// we will never get to the loop.
OpenPOWER on IntegriCloud