summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-09-16 02:14:51 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-09-16 02:14:51 +0000
commitb1c024a2de90a90fc2687f1784b1e136350e9141 (patch)
tree6e91fd63b31a6f2177bd32713a279304e9e87f09 /llvm/lib
parent56ebef45efe4807fba24d61f97eface88a6e2b46 (diff)
downloadbcm5719-llvm-b1c024a2de90a90fc2687f1784b1e136350e9141.tar.gz
bcm5719-llvm-b1c024a2de90a90fc2687f1784b1e136350e9141.zip
[x86] Cleanup an unused variable by actually using it in the non-asserts
place where it was needed. llvm-svn: 217854
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index f7c08a292da..1b0e4fc3bf4 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud