[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Chris Lattner sabre at nondot.org
Sun Mar 4 12:02:03 PST 2007



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAG.cpp updated: 1.391 -> 1.392
---
Log message:

eliminate some ops if they have an undef RHS


---
Diffs of the changes:  (+2 -0)

 SelectionDAG.cpp |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.391 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.392
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.391	Sun Feb 25 02:24:27 2007
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp	Sun Mar  4 14:01:46 2007
@@ -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:






More information about the llvm-commits mailing list