[llvm] r320927 - [X86] Have getVectorMaskingNode return an ISD::AND for X86ISD::VPSHUFBITQMB instead of creating a select with one input being 0.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 16 13:12:23 PST 2017
Author: ctopper
Date: Sat Dec 16 13:12:23 2017
New Revision: 320927
URL: http://llvm.org/viewvc/llvm-project?rev=320927&view=rev
Log:
[X86] Have getVectorMaskingNode return an ISD::AND for X86ISD::VPSHUFBITQMB instead of creating a select with one input being 0.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=320927&r1=320926&r2=320927&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sat Dec 16 13:12:23 2017
@@ -19631,6 +19631,7 @@ static SDValue getVectorMaskingNode(SDVa
case X86ISD::CMPM:
case X86ISD::CMPM_RND:
case X86ISD::CMPMU:
+ case X86ISD::VPSHUFBITQMB:
return DAG.getNode(ISD::AND, dl, VT, Op, VMask);
case X86ISD::VFPCLASS:
return DAG.getNode(ISD::OR, dl, VT, Op, VMask);
More information about the llvm-commits
mailing list