Fix whitespace issues in two places; NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Sat, 24 Oct 2015 05:37:28 +0000 (05:37 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Sat, 24 Oct 2015 05:37:28 +0000 (05:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251179 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/InstructionSimplify.cpp
lib/Analysis/ScalarEvolution.cpp

index cf6aa9a116300787bd4aa72ba95681336e95b7dc..ec50b8a05f472918454278edbbdf6aae29689141 100644 (file)
@@ -2447,7 +2447,8 @@ static Value *SimplifyICmpInst(unsigned Predicate, Value *LHS, Value *RHS,
 
     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))
index ee08c8107130ddbed3f50b05d3cff1f08b3f39f9..4f0ef2a959553e8f3ff2d27cc85fc669219000d2 100644 (file)
@@ -3801,8 +3801,8 @@ static bool IsAvailableOnEntry(const Loop *L, DominatorTree &DT, const SCEV *S,
       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