mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 17:31:50 +00:00
Silencing a "result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)" warning in MSVC; NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230489 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d7b05fe20f
commit
3cecbeccf2
@ -9987,7 +9987,7 @@ SDValue PPCTargetLowering::PerformDAGCombine(SDNode *N,
|
|||||||
isa<ConstantSDNode>(UI->getOperand(1)) &&
|
isa<ConstantSDNode>(UI->getOperand(1)) &&
|
||||||
(cast<ConstantSDNode>(Add->getOperand(1))->getZExtValue() -
|
(cast<ConstantSDNode>(Add->getOperand(1))->getZExtValue() -
|
||||||
cast<ConstantSDNode>(UI->getOperand(1))->getZExtValue()) %
|
cast<ConstantSDNode>(UI->getOperand(1))->getZExtValue()) %
|
||||||
(1 << Bits) == 0) {
|
(1ULL << Bits) == 0) {
|
||||||
SDNode *OtherAdd = *UI;
|
SDNode *OtherAdd = *UI;
|
||||||
for (SDNode::use_iterator VI = OtherAdd->use_begin(),
|
for (SDNode::use_iterator VI = OtherAdd->use_begin(),
|
||||||
VE = OtherAdd->use_end(); VI != VE; ++VI) {
|
VE = OtherAdd->use_end(); VI != VE; ++VI) {
|
||||||
|
Loading…
Reference in New Issue
Block a user