From: Chandler Carruth Date: Tue, 16 Sep 2014 02:14:51 +0000 (+0000) Subject: [x86] Cleanup an unused variable by actually using it in the non-asserts X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2f21b7ec5c44e3a9ace0b25ac13e8c4ddee245a2;p=oota-llvm.git [x86] Cleanup an unused variable by actually using it in the non-asserts place where it was needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217854 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index f7c08a292da..1b0e4fc3bf4 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -20036,7 +20036,7 @@ static SDValue combineShuffleToAddSub(SDNode *N, SelectionDAG &DAG) { // FIXME: Munge the inputs through no-op shuffles that drop the undef lanes to // allow nuking any instructions that feed only those lanes. - return DAG.getNode(X86ISD::ADDSUB, DL, N->getValueType(0), LHS, RHS); + return DAG.getNode(X86ISD::ADDSUB, DL, VT, LHS, RHS); } /// PerformShuffleCombine - Performs several different shuffle combines.