forked from OSchip/llvm-project
[InstCombine] Remove 'return' of a called function that also returned void. NFC
llvm-svn: 303028
This commit is contained in:
parent
c3dbd7f270
commit
26c4159956
|
@ -492,7 +492,7 @@ public:
|
||||||
|
|
||||||
void computeKnownBits(Value *V, KnownBits &Known,
|
void computeKnownBits(Value *V, KnownBits &Known,
|
||||||
unsigned Depth, Instruction *CxtI) const {
|
unsigned Depth, Instruction *CxtI) const {
|
||||||
return llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT);
|
llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool MaskedValueIsZero(Value *V, const APInt &Mask, unsigned Depth = 0,
|
bool MaskedValueIsZero(Value *V, const APInt &Mask, unsigned Depth = 0,
|
||||||
|
@ -505,8 +505,7 @@ public:
|
||||||
}
|
}
|
||||||
void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
|
void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
|
||||||
unsigned Depth = 0, Instruction *CxtI = nullptr) const {
|
unsigned Depth = 0, Instruction *CxtI = nullptr) const {
|
||||||
return llvm::ComputeSignBit(V, KnownZero, KnownOne, DL, Depth, &AC, CxtI,
|
llvm::ComputeSignBit(V, KnownZero, KnownOne, DL, Depth, &AC, CxtI, &DT);
|
||||||
&DT);
|
|
||||||
}
|
}
|
||||||
OverflowResult computeOverflowForUnsignedMul(Value *LHS, Value *RHS,
|
OverflowResult computeOverflowForUnsignedMul(Value *LHS, Value *RHS,
|
||||||
const Instruction *CxtI) {
|
const Instruction *CxtI) {
|
||||||
|
|
Loading…
Reference in New Issue