mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
fix formatting; NFC
llvm-svn: 270465
This commit is contained in:
parent
b74c5addf0
commit
17cf37684e
@ -1398,8 +1398,7 @@ void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
|
||||
return;
|
||||
}
|
||||
// Null and aggregate-zero are all-zeros.
|
||||
if (isa<ConstantPointerNull>(V) ||
|
||||
isa<ConstantAggregateZero>(V)) {
|
||||
if (isa<ConstantPointerNull>(V) || isa<ConstantAggregateZero>(V)) {
|
||||
KnownOne.clearAllBits();
|
||||
KnownZero = APInt::getAllOnesValue(BitWidth);
|
||||
return;
|
||||
@ -3766,8 +3765,7 @@ static Value *lookThroughCast(CmpInst *CmpI, Value *V1, Value *V2,
|
||||
return CastedTo;
|
||||
}
|
||||
|
||||
SelectPatternResult llvm::matchSelectPattern(Value *V,
|
||||
Value *&LHS, Value *&RHS,
|
||||
SelectPatternResult llvm::matchSelectPattern(Value *V, Value *&LHS, Value *&RHS,
|
||||
Instruction::CastOps *CastOp) {
|
||||
SelectInst *SI = dyn_cast<SelectInst>(V);
|
||||
if (!SI) return {SPF_UNKNOWN, SPNB_NA, false};
|
||||
|
Loading…
Reference in New Issue
Block a user