From: Evan Cheng Date: Fri, 7 Jul 2006 21:37:21 +0000 (+0000) Subject: Fix a typo that causes 2006-07-07-ComputeMaskedBits.ll to fail. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=42f75a926ab4b55f97da010f2ac05d2bc97a6dbf;p=oota-llvm.git Fix a typo that causes 2006-07-07-ComputeMaskedBits.ll to fail. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29072 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp index c6d482a828e..b8cefc646a3 100644 --- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -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;