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:
8d1ffbd
)
Delete an unnecessary line. The VTSDNode on a SIGN_EXTEND_REG is never
author
Dan Gohman
<gohman@apple.com>
Fri, 11 Dec 2009 23:26:08 +0000
(23:26 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 11 Dec 2009 23:26:08 +0000
(23:26 +0000)
a vector type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91181
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 31b2a47f8f21bfdbc160619adf53d1b315444124..f9c05d081da0a2af6645f21bfdad380f190a32dd 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-2296,7
+2296,6
@@
void SelectionDAGLegalize::ExpandNode(SDNode *Node,
EVT ExtraVT = cast<VTSDNode>(Node->getOperand(1))->getVT();
EVT VT = Node->getValueType(0);
EVT ShiftAmountTy = TLI.getShiftAmountTy();
- if (ExtraVT.isVector()) ExtraVT = ExtraVT.getVectorElementType();
if (VT.isVector()) {
ShiftAmountTy = VT;
VT = VT.getVectorElementType();