Fix a typo that causes 2006-07-07-ComputeMaskedBits.ll to fail.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 7 Jul 2006 21:37:21 +0000 (21:37 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 7 Jul 2006 21:37:21 +0000 (21:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29072 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/TargetLowering.cpp

index c6d482a828ec65f43783ed68cd1509c4eda0db8a..b8cefc646a326a86a99e860a0ec8b13cb8130c7f 100644 (file)
@@ -988,7 +988,7 @@ void TargetLowering::ComputeMaskedBits(SDOperand Op, uint64_t Mask,
         KnownZero = ~((1ULL << (64-NLZ2))-1) & Mask;  // Top bits known zero.
         KnownOne = 0;   // No one bits known.
       } else {
-        KnownOne = KnownOne = 0;  // Otherwise, nothing known.
+        KnownZero = KnownOne = 0;  // Otherwise, nothing known.
       }
     }
     return;