Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit b4c96f7

Browse files
committed
Fix whitespace issues in two places; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251179 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 614bd35 commit b4c96f7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/Analysis/InstructionSimplify.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2447,7 +2447,8 @@ static Value *SimplifyICmpInst(unsigned Predicate, Value *LHS, Value *RHS,
24472447

24482448
if (auto *I = dyn_cast<Instruction>(LHS))
24492449
if (auto *Ranges = I->getMetadata(LLVMContext::MD_range))
2450-
LHS_CR = LHS_CR.intersectWith(GetConstantRangeFromMetadata(Ranges, Width));
2450+
LHS_CR =
2451+
LHS_CR.intersectWith(GetConstantRangeFromMetadata(Ranges, Width));
24512452

24522453
if (!LHS_CR.isFullSet()) {
24532454
if (RHS_CR.contains(LHS_CR))

lib/Analysis/ScalarEvolution.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3801,8 +3801,8 @@ static bool IsAvailableOnEntry(const Loop *L, DominatorTree &DT, const SCEV *S,
38013801
switch (S->getSCEVType()) {
38023802
case scConstant: case scTruncate: case scZeroExtend: case scSignExtend:
38033803
case scAddExpr: case scMulExpr: case scUMaxExpr: case scSMaxExpr:
3804-
// These expressions are available if their operand(s) is/are.
3805-
return true;
3804+
// These expressions are available if their operand(s) is/are.
3805+
return true;
38063806

38073807
case scAddRecExpr: {
38083808
// We allow add recurrences that are on the loop BB is in, or some

0 commit comments

Comments
 (0)