diff options
author | Chris Lattner <sabre@nondot.org> | 2005-04-13 02:47:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-04-13 02:47:57 +0000 |
commit | 39844ac337e0ffdcab878a923bce698bd2b91d96 (patch) | |
tree | 238f7a83676a84f36cc9c298f21de4027ca7cce8 /llvm/lib/CodeGen | |
parent | e0efd1fa72593530b92d852b0a8f0fee34f42e9c (diff) | |
download | bcm5719-llvm-39844ac337e0ffdcab878a923bce698bd2b91d96.tar.gz bcm5719-llvm-39844ac337e0ffdcab878a923bce698bd2b91d96.zip |
Oops, remove these too.
llvm-svn: 21272
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 08b702f4a33..dc862b38bea 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -943,10 +943,8 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT, case ISD::SHL: case ISD::SRL: case ISD::SRA: - if (N2.getOpcode() == ISD::ZERO_EXTEND_INREG || - N2.getOpcode() == ISD::SIGN_EXTEND_INREG) { + if (N2.getOpcode() == ISD::SIGN_EXTEND_INREG) return getNode(Opcode, VT, N1, N2.getOperand(0)); - } break; } @@ -1042,10 +1040,8 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT, case ISD::SRA_PARTS: case ISD::SRL_PARTS: case ISD::SHL_PARTS: - if (N3.getOpcode() == ISD::ZERO_EXTEND_INREG || - N3.getOpcode() == ISD::SIGN_EXTEND_INREG) { + if (N3.getOpcode() == ISD::SIGN_EXTEND_INREG) return getNode(Opcode, VT, N1, N2, N3.getOperand(0)); - } break; } |