OSDN Git Service

[SelectionDAG] Make SelectionDAG aware of the known bits in UADDO and SADDO.
authorAmaury Sechet <deadalnix@gmail.com>
Fri, 10 Mar 2017 17:06:52 +0000 (17:06 +0000)
committerAmaury Sechet <deadalnix@gmail.com>
Fri, 10 Mar 2017 17:06:52 +0000 (17:06 +0000)
commita29d6806716c1c5689aa785717fd91517fe2b534
treea797e085cd822550441d047ec1a0de26b21aac5d
parent6d0254e14cac929f1b13d6205ff62a23b2495658
[SelectionDAG] Make SelectionDAG aware of the known bits in UADDO and SADDO.

Summary: As per title. This is extracted from D29872 and I threw SADDO in.

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

Subscribers: llvm-commits

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

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