@@ -687,7 +687,7 @@ def top16Zero: PatLeaf<(i32 GPR32:$src), [{
687687 CurDAG->MaskedValueIsZero(Op, APInt::getHighBitsSet(32, 16));
688688 }]> {
689689 let GISelLeafPredicateCode = [{
690- return ( VT && VT->maskedValueIsZero(Reg, APInt::getHighBitsSet(32, 16) )); }];
690+ return VT && VT->maskedValueIsZero(Reg, APInt::getHighBitsSet(32, 16)); }];
691691}
692692
693693// top32Zero - answer true if the upper 32 bits of $src are 0, false otherwise
@@ -696,7 +696,7 @@ def top32Zero: PatLeaf<(i64 GPR64:$src), [{
696696 CurDAG->MaskedValueIsZero(Op, APInt::getHighBitsSet(64, 32));
697697 }]> {
698698 let GISelLeafPredicateCode = [{
699- return ( VT && VT->maskedValueIsZero(Reg, APInt::getHighBitsSet(64, 32) )); }];
699+ return VT && VT->maskedValueIsZero(Reg, APInt::getHighBitsSet(64, 32)); }];
700700}
701701
702702// topbitsallzero - Return true if all bits except the lowest bit are known zero
@@ -705,14 +705,14 @@ def topbitsallzero32: PatLeaf<(i32 GPR32:$src), [{
705705 CurDAG->MaskedValueIsZero(Op, APInt::getHighBitsSet(32, 31));
706706 }]> {
707707 let GISelLeafPredicateCode = [{
708- return ( VT && VT->maskedValueIsZero(Reg, APInt::getHighBitsSet(32, 31) )); }];
708+ return VT && VT->maskedValueIsZero(Reg, APInt::getHighBitsSet(32, 31)); }];
709709}
710710def topbitsallzero64: PatLeaf<(i64 GPR64:$src), [{
711711 return Op.getValueType() == MVT::i64 &&
712712 CurDAG->MaskedValueIsZero(Op, APInt::getHighBitsSet(64, 63));
713713 }]> {
714714 let GISelLeafPredicateCode = [{
715- return ( VT && VT->maskedValueIsZero(Reg, APInt::getHighBitsSet(64, 63) )); }];
715+ return VT && VT->maskedValueIsZero(Reg, APInt::getHighBitsSet(64, 63)); }];
716716}
717717
718718// Node definitions.
0 commit comments