commit | 362621c7ae34631096af78e07a78bc4e339b6f3c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Mar 04 20:01:46 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Mar 04 20:01:46 2007 +0000 |
tree | 40902b8d1abc2af03d174382c1955e484a800824 | |
parent | 1e041472407f726904238ac6e9b837655682945b [diff] [blame] |
eliminate some ops if they have an undef RHS llvm-svn: 34908
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 2679a8c..0de7120 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -1325,6 +1325,8 @@ if (N2.getOpcode() == ISD::UNDEF) { switch (Opcode) { case ISD::ADD: + case ISD::ADDC: + case ISD::ADDE: case ISD::SUB: case ISD::FADD: case ISD::FSUB: