mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 12:40:17 +00:00
Remove unnecessary else.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220200 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7c771b0293
commit
958df22c9f
@ -39,8 +39,8 @@ static int getMinValue(uint64_t TSFlags) {
|
||||
|
||||
if (isSigned)
|
||||
return -1U << (bits - 1);
|
||||
else
|
||||
return 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Return the maximum value that a constant extendable operand can have
|
||||
@ -53,8 +53,8 @@ static int getMaxValue(uint64_t TSFlags) {
|
||||
|
||||
if (isSigned)
|
||||
return ~(-1U << (bits - 1));
|
||||
else
|
||||
return ~(-1U << bits);
|
||||
|
||||
return ~(-1U << bits);
|
||||
}
|
||||
|
||||
// Return true if the instruction must be extended.
|
||||
|
Loading…
Reference in New Issue
Block a user