[llvm] r251179 - Fix whitespace issues in two places; NFC
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 23 22:37:28 PDT 2015
Author: sanjoy
Date: Sat Oct 24 00:37:28 2015
New Revision: 251179
URL: http://llvm.org/viewvc/llvm-project?rev=251179&view=rev
Log:
Fix whitespace issues in two places; NFC
Modified:
llvm/trunk/lib/Analysis/InstructionSimplify.cpp
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/lib/Analysis/InstructionSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/InstructionSimplify.cpp?rev=251179&r1=251178&r2=251179&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/InstructionSimplify.cpp (original)
+++ llvm/trunk/lib/Analysis/InstructionSimplify.cpp Sat Oct 24 00:37:28 2015
@@ -2447,7 +2447,8 @@ static Value *SimplifyICmpInst(unsigned
if (auto *I = dyn_cast<Instruction>(LHS))
if (auto *Ranges = I->getMetadata(LLVMContext::MD_range))
- LHS_CR = LHS_CR.intersectWith(GetConstantRangeFromMetadata(Ranges, Width));
+ LHS_CR =
+ LHS_CR.intersectWith(GetConstantRangeFromMetadata(Ranges, Width));
if (!LHS_CR.isFullSet()) {
if (RHS_CR.contains(LHS_CR))
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=251179&r1=251178&r2=251179&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Sat Oct 24 00:37:28 2015
@@ -3801,8 +3801,8 @@ static bool IsAvailableOnEntry(const Loo
switch (S->getSCEVType()) {
case scConstant: case scTruncate: case scZeroExtend: case scSignExtend:
case scAddExpr: case scMulExpr: case scUMaxExpr: case scSMaxExpr:
- // These expressions are available if their operand(s) is/are.
- return true;
+ // These expressions are available if their operand(s) is/are.
+ return true;
case scAddRecExpr: {
// We allow add recurrences that are on the loop BB is in, or some
More information about the llvm-commits
mailing list