[llvm] r324206 - [X86] Remove unused lambda. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 4 22:56:33 PST 2018
Author: ctopper
Date: Sun Feb 4 22:56:33 2018
New Revision: 324206
URL: http://llvm.org/viewvc/llvm-project?rev=324206&view=rev
Log:
[X86] Remove unused lambda. NFC
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=324206&r1=324205&r2=324206&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sun Feb 4 22:56:33 2018
@@ -31382,17 +31382,6 @@ static bool combineBitcastForMaskedOp(SD
MVT EltVT = VT.getVectorElementType();
SDLoc DL(Op.getNode());
- auto BitcastAndCombineShuffle = [&](unsigned Opcode, SDValue Op0, SDValue Op1,
- SDValue Op2) {
- Op0 = DAG.getBitcast(VT, Op0);
- DCI.AddToWorklist(Op0.getNode());
- Op1 = DAG.getBitcast(VT, Op1);
- DCI.AddToWorklist(Op1.getNode());
- DCI.CombineTo(OrigOp.getNode(),
- DAG.getNode(Opcode, DL, VT, Op0, Op1, Op2));
- return true;
- };
-
unsigned Opcode = Op.getOpcode();
switch (Opcode) {
case X86ISD::SUBV_BROADCAST: {
More information about the llvm-commits
mailing list