OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ab51e7
)
[X86] Add X86ISD::CMPM_RND to getVectorMaskingNode to select ISD::AND instead of...
author
Craig Topper
<craig.topper@intel.com>
Thu, 23 Nov 2017 18:41:19 +0000
(18:41 +0000)
committer
Craig Topper
<craig.topper@intel.com>
Thu, 23 Nov 2017 18:41:19 +0000
(18:41 +0000)
A later DAG combine will turn the VSELECT into an AND, but we have the other mask compare opcodes here so add this one too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318931
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index
c91a923
..
3f3de3e
100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-19571,6
+19571,7
@@
static SDValue getVectorMaskingNode(SDValue Op, SDValue Mask,
case X86ISD::PCMPEQM:
case X86ISD::PCMPGTM:
case X86ISD::CMPM:
+ case X86ISD::CMPM_RND:
case X86ISD::CMPMU:
return DAG.getNode(ISD::AND, dl, VT, Op, VMask);
case X86ISD::VFPCLASS: