aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-03-19 18:53:45 +0000
committerDan Gohman <gohman@apple.com>2009-03-19 18:53:45 +0000
commit56e04a80b3cbd348aaf8f1828ed28fb4a9de2312 (patch)
treef5a582e4dff6c29358f6d96d77d296f00f3286e7
parent1f67ce4aa3f65619f54c8a3072539da5b0022841 (diff)
SADDO and UADDO are commutative.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67319 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index 7e81e02073..c440caf27a 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;