forked from OSchip/llvm-project
[X86] Clear KnownBits instead of reconstructing it. NFC
llvm-svn: 301767
This commit is contained in:
parent
9d8cd821e6
commit
d503644a4a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue