mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Fix whitespace issues in two places; NFC
llvm-svn: 251179
This commit is contained in:
parent
8445687cda
commit
9a9c3c76d2
@ -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))
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user