summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-12-11 23:26:08 +0000
committerDan Gohman <gohman@apple.com>2009-12-11 23:26:08 +0000
commit619a78bd59933f3fc6611ef458eca45c9cfb6318 (patch)
treea91f863ebd222a4d451a15dcd9dd012df9ad77c7 /llvm/lib/CodeGen
parent12308f41e7e26e091950d868d0d2e00a2892fbf0 (diff)
downloadbcm5719-llvm-619a78bd59933f3fc6611ef458eca45c9cfb6318.tar.gz
bcm5719-llvm-619a78bd59933f3fc6611ef458eca45c9cfb6318.zip
Delete an unnecessary line. The VTSDNode on a SIGN_EXTEND_REG is never
a vector type. llvm-svn: 91181
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 31b2a47f8f2..f9c05d081da 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud