From 42f75a926ab4b55f97da010f2ac05d2bc97a6dbf Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 7 Jul 2006 21:37:21 +0000 Subject: [PATCH] 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 --- lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1