[X86] Clear KnownBits instead of reconstructing it. NFC

llvm-svn: 301767
This commit is contained in:
Craig Topper 2017-04-30 07:44:55 +00:00
parent 9d8cd821e6
commit d503644a4a
1 changed files with 1 additions and 1 deletions

View File

@ -26682,7 +26682,7 @@ void X86TargetLowering::computeKnownBitsForTargetNode(const SDValue Op,
"Should use MaskedValueIsZero if you don't know whether Op"
" is a target node!");
Known = KnownBits(BitWidth); // Don't know anything.
Known.Zero.clearAllBits(); Known.One.clearAllBits();
switch (Opc) {
default: break;
case X86ISD::ADD: