[llvm] r318932 - [X86] Remove some unneeded opcodes from getVectorMaskingNode. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 23 10:41:20 PST 2017
Author: ctopper
Date: Thu Nov 23 10:41:20 2017
New Revision: 318932
URL: http://llvm.org/viewvc/llvm-project?rev=318932&view=rev
Log:
[X86] Remove some unneeded opcodes from getVectorMaskingNode. NFC
We never reach here with these opcodes.
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=318932&r1=318931&r2=318932&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Thu Nov 23 10:41:20 2017
@@ -19568,14 +19568,11 @@ static SDValue getVectorMaskingNode(SDVa
switch (Op.getOpcode()) {
default: break;
- 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:
- case X86ISD::VFPCLASSS:
return DAG.getNode(ISD::OR, dl, VT, Op, VMask);
case X86ISD::VTRUNC:
case X86ISD::VTRUNCS:
More information about the llvm-commits
mailing list