summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-05-15 02:30:27 +0000
committerCraig Topper <craig.topper@gmail.com>2017-05-15 02:30:27 +0000
commit26c415995630411b56fb768e48b7d20f9cf0acce (patch)
tree620f4371ecfb3748af757a2c2884aafc80d3b4fc /llvm/lib/Transforms/InstCombine
parentc3dbd7f27000a8bdecd4564174cd5ac7f34ed824 (diff)
downloadbcm5719-llvm-26c415995630411b56fb768e48b7d20f9cf0acce.tar.gz
bcm5719-llvm-26c415995630411b56fb768e48b7d20f9cf0acce.zip
[InstCombine] Remove 'return' of a called function that also returned void. NFC
llvm-svn: 303028
Diffstat (limited to 'llvm/lib/Transforms/InstCombine')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineInternal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
index 3be6419a129..2fb13759ba5 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
@@ -492,7 +492,7 @@ public:
void computeKnownBits(Value *V, KnownBits &Known,
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,
@@ -505,8 +505,7 @@ public:
}
void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
unsigned Depth = 0, Instruction *CxtI = nullptr) const {
- return llvm::ComputeSignBit(V, KnownZero, KnownOne, DL, Depth, &AC, CxtI,
- &DT);
+ llvm::ComputeSignBit(V, KnownZero, KnownOne, DL, Depth, &AC, CxtI, &DT);
}
OverflowResult computeOverflowForUnsignedMul(Value *LHS, Value *RHS,
const Instruction *CxtI) {
OpenPOWER on IntegriCloud