Sigh, not my day. Fix typo.
authorNate Begeman <natebegeman@mac.com>
Wed, 31 Aug 2005 00:43:49 +0000 (00:43 +0000)
committerNate Begeman <natebegeman@mac.com>
Wed, 31 Aug 2005 00:43:49 +0000 (00:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23166 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAG.cpp

index aeacfd56884563a3cca3b553783ecab3fd0c7007..a44854e9e89c521c54d75f43613090a39d15db7b 100644 (file)
@@ -1099,7 +1099,7 @@ static bool MaskedValueIsZero(const SDOperand &Op, uint64_t Mask,
     return MaskedValueIsZero(Op.getOperand(0),Mask & ((1ULL << SrcBits)-1),TLI);
   case ISD::AssertZext:
     SrcBits = MVT::getSizeInBits(cast<VTSDNode>(Op.getOperand(1))->getVT());
-    return (Mask & ((1ULL << SrcBits)-1) == 0; // Returning only the zext bits.
+    return (Mask & ((1ULL << SrcBits)-1)) == 0; // Returning only the zext bits.
   case ISD::AND:
     // (X & C1) & C2 == 0   iff   C1 & C2 == 0.
     if (ConstantSDNode *AndRHS = dyn_cast<ConstantSDNode>(Op.getOperand(1)))