diff options
author | Dan Gohman <gohman@apple.com> | 2009-12-11 23:26:08 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-12-11 23:26:08 +0000 |
commit | a0474a83bfa75757866c9ce361ddb8462a585882 (patch) | |
tree | 8041ee30e9dc6f23b33761378d7f47438fb1577c /lib/CodeGen/SelectionDAG | |
parent | 8d1ffbd1adad453fe330be4951400bfd25fab666 (diff) | |
download | external_llvm-a0474a83bfa75757866c9ce361ddb8462a585882.zip external_llvm-a0474a83bfa75757866c9ce361ddb8462a585882.tar.gz external_llvm-a0474a83bfa75757866c9ce361ddb8462a585882.tar.bz2 |
Delete an unnecessary line. The VTSDNode on a SIGN_EXTEND_REG is never
a vector type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 31b2a47..f9c05d0 100644 --- 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(); |