From: Dan Gohman Date: Thu, 19 Mar 2009 18:53:45 +0000 (+0000) Subject: SADDO and UADDO are commutative. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=56e04a80b3cbd348aaf8f1828ed28fb4a9de2312;p=oota-llvm.git SADDO and UADDO are commutative. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67319 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 7e81e02073c..c440caf27a1 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -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;