projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
367cf70
)
[x86] Cleanup an unused variable by actually using it in the non-asserts
author
Chandler Carruth
<chandlerc@gmail.com>
Tue, 16 Sep 2014 02:14:51 +0000
(
02:14
+0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Tue, 16 Sep 2014 02:14:51 +0000
(
02:14
+0000)
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
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index f7c08a292da3e420fc305b3add053d65384b03b2..1b0e4fc3bf438c9c586ddd1e980198c84ca9f1d1 100644
(file)
--- 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.