[PATCH] D36657: [X86] Remove flag setting ISD nodes from computeKnownBitsForTargetNode
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 14 08:29:58 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL310845: [X86] Remove flag setting ISD nodes from computeKnownBitsForTargetNode (authored by ctopper).
Changed prior to commit:
https://reviews.llvm.org/D36657?vs=110897&id=110977#toc
Repository:
rL LLVM
https://reviews.llvm.org/D36657
Files:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Index: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
===================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
@@ -26915,21 +26915,6 @@
Known.resetAll();
switch (Opc) {
default: break;
- case X86ISD::ADD:
- case X86ISD::SUB:
- case X86ISD::ADC:
- case X86ISD::SBB:
- case X86ISD::SMUL:
- case X86ISD::UMUL:
- case X86ISD::INC:
- case X86ISD::DEC:
- case X86ISD::OR:
- case X86ISD::XOR:
- case X86ISD::AND:
- // These nodes' second result is a boolean.
- if (Op.getResNo() == 0)
- break;
- LLVM_FALLTHROUGH;
case X86ISD::SETCC:
Known.Zero.setBitsFrom(1);
break;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36657.110977.patch
Type: text/x-patch
Size: 718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170814/bdfc1525/attachment.bin>
More information about the llvm-commits
mailing list