[llvm] r265468 - Minor code cleanups. NFC.
Junmo Park via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 5 14:14:32 PDT 2016
Author: flyingforyou
Date: Tue Apr 5 16:14:31 2016
New Revision: 265468
URL: http://llvm.org/viewvc/llvm-project?rev=265468&view=rev
Log:
Minor code cleanups. 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=265468&r1=265467&r2=265468&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/InstructionSimplify.cpp (original)
+++ llvm/trunk/lib/Analysis/InstructionSimplify.cpp Tue Apr 5 16:14:31 2016
@@ -2139,7 +2139,7 @@ static Value *SimplifyICmpInst(unsigned
return getTrue(ITy);
break;
case ICmpInst::ICMP_SGE:
- /// For signed comparison, the values for an i1 are 0 and -1
+ /// For signed comparison, the values for an i1 are 0 and -1
/// respectively. This maps into a truth table of:
/// LHS | RHS | LHS >=s RHS | LHS implies RHS
/// 0 | 0 | 1 (0 >= 0) | 1
@@ -2546,7 +2546,7 @@ static Value *SimplifyICmpInst(unsigned
return Pred == ICmpInst::ICMP_NE ?
ConstantInt::getTrue(Ctx) : ConstantInt::getFalse(Ctx);
}
-
+
// Special logic for binary operators.
BinaryOperator *LBO = dyn_cast<BinaryOperator>(LHS);
BinaryOperator *RBO = dyn_cast<BinaryOperator>(RHS);
More information about the llvm-commits
mailing list