projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d8cd82
)
[X86] Clear KnownBits instead of reconstructing it. NFC
author
Craig Topper
<craig.topper@gmail.com>
Sun, 30 Apr 2017 07:44:55 +0000
(07:44 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sun, 30 Apr 2017 07:44:55 +0000
(07:44 +0000)
llvm-svn: 301767
llvm/lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86ISelLowering.cpp
b/llvm/lib/Target/X86/X86ISelLowering.cpp
index
535be01
..
d767a7a
100644
(file)
--- a/
llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/
llvm/lib/Target/X86/X86ISelLowering.cpp
@@
-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: