summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/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
commitaf5ae57333b5aa75088025bf900a41faf7724d67 (patch)
tree21c8963ea9d3b8784d579223e94b8c5106b00f5f /llvm/lib/Target/TargetLowering.cpp
parentfd2e13b107fb912fa15ff2226c45b766b1d83281 (diff)
downloadbcm5719-llvm-af5ae57333b5aa75088025bf900a41faf7724d67.tar.gz
bcm5719-llvm-af5ae57333b5aa75088025bf900a41faf7724d67.zip
Fix a typo that causes 2006-07-07-ComputeMaskedBits.ll to fail.
llvm-svn: 29072
Diffstat (limited to 'llvm/lib/Target/TargetLowering.cpp')
-rw-r--r--llvm/lib/Target/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetLowering.cpp b/llvm/lib/Target/TargetLowering.cpp
index c6d482a828e..b8cefc646a3 100644
--- a/llvm/lib/Target/TargetLowering.cpp
+++ b/llvm/lib/Target/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;
OpenPOWER on IntegriCloud