From 2f21b7ec5c44e3a9ace0b25ac13e8c4ddee245a2 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 16 Sep 2014 02:14:51 +0000 Subject: [PATCH] [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 --- lib/Target/X86/X86ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.34.1