[llvm] r302439 - [InstSimplify] fix typo; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Mon May 8 09:35:03 PDT 2017
Author: spatel
Date: Mon May 8 11:35:02 2017
New Revision: 302439
URL: http://llvm.org/viewvc/llvm-project?rev=302439&view=rev
Log:
[InstSimplify] fix typo; NFC
Modified:
llvm/trunk/lib/Analysis/InstructionSimplify.cpp
Modified: llvm/trunk/lib/Analysis/InstructionSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/InstructionSimplify.cpp?rev=302439&r1=302438&r2=302439&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/InstructionSimplify.cpp (original)
+++ llvm/trunk/lib/Analysis/InstructionSimplify.cpp Mon May 8 11:35:02 2017
@@ -1536,7 +1536,7 @@ static Value *simplifyAndOrOfICmpsWithCo
auto Range0 = ConstantRange::makeExactICmpRegion(Cmp0->getPredicate(), *C0);
auto Range1 = ConstantRange::makeExactICmpRegion(Cmp1->getPredicate(), *C1);
- // For and-of-comapares, check if the intersection is empty:
+ // For and-of-compares, check if the intersection is empty:
// (icmp X, C0) && (icmp X, C1) --> empty set --> false
if (IsAnd && Range0.intersectWith(Range1).isEmptySet())
return getFalse(Cmp0->getType());
More information about the llvm-commits
mailing list