aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-07-07 21:37:21 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-07-07 21:37:21 +0000
commit42f75a926ab4b55f97da010f2ac05d2bc97a6dbf (patch)
treeae238b96c18e407fda627e5e849b62e643f5ff10 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent7cd580f0b7cf5f49ccd75bb747d6627292c8fe73 (diff)
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index c6d482a828..b8cefc646a 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;