SADDO and UADDO are commutative.
authorDan Gohman <gohman@apple.com>
Thu, 19 Mar 2009 18:53:45 +0000 (18:53 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 19 Mar 2009 18:53:45 +0000 (18:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67319 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAG.h

index 7e81e02073c416a97e81acfa2061b3b933bedd55..c440caf27a1d204b18c7e6a19417c8d6e491c9af 100644 (file)
@@ -770,6 +770,8 @@ public:
     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;