OSDN Git Service

LegalizeDAG: Try to use Overflow operations when expanding ADD/SUB
authorJan Vesely <jan.vesely@rutgers.edu>
Mon, 13 Apr 2015 15:32:01 +0000 (15:32 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Mon, 13 Apr 2015 15:32:01 +0000 (15:32 +0000)
commit187ac426865c0f3629fcc22ee9cd473d90cea121
treee38e256af4015cc6d836781681671613c378dbe9
parente29e10190ee401e0cbba3aa5c43b259deafc3bef
LegalizeDAG: Try to use Overflow operations when expanding ADD/SUB

v2: consider BooleanContents when processing overflow

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewers: resistor, jholewinsky (nvidia parts)
Differential Revision: http://reviews.llvm.org/D6340

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234755 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
test/CodeGen/Hexagon/adde.ll
test/CodeGen/Hexagon/sube.ll
test/CodeGen/NVPTX/add-128bit.ll
test/CodeGen/R600/sub.ll