From: Craig Topper Date: Thu, 23 Nov 2017 18:41:20 +0000 (+0000) Subject: [X86] Remove some unneeded opcodes from getVectorMaskingNode. NFC X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94b994972c2932f12dde886ffe8a97bae5eaebda;p=platform%2Fupstream%2Fllvm.git [X86] Remove some unneeded opcodes from getVectorMaskingNode. NFC We never reach here with these opcodes. llvm-svn: 318932 --- diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 3f3de3e..eabaad8 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -19568,14 +19568,11 @@ static SDValue getVectorMaskingNode(SDValue Op, SDValue Mask, 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: