OSDN Git Service

[DAGCombine] Refactor common addcarry pattern.
authorAmaury Sechet <deadalnix@gmail.com>
Thu, 1 Jun 2017 10:48:04 +0000 (10:48 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Thu, 1 Jun 2017 10:48:04 +0000 (10:48 +0000)
commitbff50588326023f1c729f8bb18b7a66e56b524b3
tree9595426ff88c634a5062a1ff8f536f3a8434741f
parent833b44147a379760e51245da4d31bb31170c5ebf
[DAGCombine] Refactor common addcarry pattern.

Summary: This pattern is no very useful per se, but it exposes optimization for toehr patterns that wouldn't kick in otherwize. It's very common and worth optimizing for.

Reviewers: jyknight, nemanjai, mkuper, spatel, RKSimon, zvi, bkramer

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D32756

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304402 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/addcarry.ll