]> granicus.if.org Git - llvm/commit
[DAGCombiner] (add X, (adde Y, 0, Carry)) -> (adde X, Y, Carry)
authorAmaury Sechet <deadalnix@gmail.com>
Mon, 6 Feb 2017 14:28:39 +0000 (14:28 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Mon, 6 Feb 2017 14:28:39 +0000 (14:28 +0000)
commit5649db8ef246b6011bf83fa9a7c0081c6075e5ea
treef3f4f9161458bf42097bf2eedf658ef9ad3e13d7
parentcf5b8bc093bca4ad6643ec1028ec20e3500e1b9a
[DAGCombiner] (add X, (adde Y, 0, Carry)) -> (adde X, Y, Carry)

Summary: This is extracted from D29443 .

Reviewers: mkuper, spatel, RKSimon, zvi, bkramer

Subscribers: llvm-commits

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

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