[llvm-commits] [llvm] r67319 - /llvm/trunk/include/llvm/CodeGen/SelectionDAG.h

Dan Gohman gohman at apple.com
Thu Mar 19 11:53:45 PDT 2009


Author: djg
Date: Thu Mar 19 13:53:45 2009
New Revision: 67319

URL: http://llvm.org/viewvc/llvm-project?rev=67319&view=rev
Log:
SADDO and UADDO are commutative.

Modified:
    llvm/trunk/include/llvm/CodeGen/SelectionDAG.h

Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAG.h?rev=67319&r1=67318&r2=67319&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAG.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAG.h Thu Mar 19 13:53:45 2009
@@ -770,6 +770,8 @@
     case ISD::AND:
     case ISD::OR:
     case ISD::XOR:
+    case ISD::SADDO:
+    case ISD::UADDO:
     case ISD::ADDC:
     case ISD::ADDE: return true;
     default: return false;





More information about the llvm-commits mailing list