[llvm] r302023 - [X86][AVX512] remove unnecessary case. NFC
Guy Blank via llvm-commits
llvm-commits at lists.llvm.org
Wed May 3 06:34:05 PDT 2017
Author: guyblank
Date: Wed May 3 08:34:05 2017
New Revision: 302023
URL: http://llvm.org/viewvc/llvm-project?rev=302023&view=rev
Log:
[X86][AVX512] remove unnecessary case. NFC
VFPCLASS is for vector types and not scalar, so it cannot get here.
Differential Revision: https://reviews.llvm.org/D32694
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=302023&r1=302022&r2=302023&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Wed May 3 08:34:05 2017
@@ -19060,8 +19060,7 @@ static SDValue getScalarMaskingNode(SDVa
if (Op.getOpcode() == X86ISD::FSETCCM ||
Op.getOpcode() == X86ISD::FSETCCM_RND)
return DAG.getNode(ISD::AND, dl, VT, Op, IMask);
- if (Op.getOpcode() == X86ISD::VFPCLASS ||
- Op.getOpcode() == X86ISD::VFPCLASSS)
+ if (Op.getOpcode() == X86ISD::VFPCLASSS)
return DAG.getNode(ISD::OR, dl, VT, Op, IMask);
if (PreservedSrc.isUndef())
More information about the llvm-commits
mailing list