mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 12:40:17 +00:00
Fix VC++ precedence warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22902 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
27d53ba6dd
commit
a92b7c36e9
@ -1171,7 +1171,7 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,
|
||||
if (Opcode == ISD::SRA) {
|
||||
// If the sign bit is known to be zero, switch this to a SRL.
|
||||
if (MaskedValueIsZero(N1,
|
||||
1ULL << MVT::getSizeInBits(N1.getValueType())-1,
|
||||
1ULL << (MVT::getSizeInBits(N1.getValueType())-1),
|
||||
TLI))
|
||||
return getNode(ISD::SRL, N1.getValueType(), N1, N2);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user