[llvm] r217854 - [x86] Cleanup an unused variable by actually using it in the non-asserts
Chandler Carruth
chandlerc at gmail.com
Mon Sep 15 19:14:52 PDT 2014
Author: chandlerc
Date: Mon Sep 15 21:14:51 2014
New Revision: 217854
URL: http://llvm.org/viewvc/llvm-project?rev=217854&view=rev
Log:
[x86] Cleanup an unused variable by actually using it in the non-asserts
place where it was needed.
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=217854&r1=217853&r2=217854&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Mon Sep 15 21:14:51 2014
@@ -20036,7 +20036,7 @@ static SDValue combineShuffleToAddSub(SD
// 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.
More information about the llvm-commits
mailing list