[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Apr 12 19:48:10 PDT 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAG.cpp updated: 1.76 -> 1.77
---
Log message:
Oops, remove these too.
---
Diffs of the changes: (+2 -6)
SelectionDAG.cpp | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.76 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.77
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.76 Tue Apr 12 21:38:18 2005
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Tue Apr 12 21:47:57 2005
@@ -943,10 +943,8 @@
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 @@
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;
}
More information about the llvm-commits
mailing list