Reapply r121905 (automatic synthesis of @llvm.sadd.with.overflow) with a fix for...
authorOwen Anderson <resistor@mac.com>
Fri, 17 Dec 2010 18:08:00 +0000 (18:08 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 17 Dec 2010 18:08:00 +0000 (18:08 +0000)
commite63dda51c2b230215837063dba73e9299f8c0aba
treed5ccebf8887037dd5710f83531f65ca1659482b7
parent31f3578b00a2ea85fb730b690f0478529103c748
Reapply r121905 (automatic synthesis of @llvm.sadd.with.overflow) with a fix for a bug that manifested itself
on the DragonEgg self-host bot.  Unfortunately, the testcase is pretty messy and doesn't reduce well due to
interactions with other parts of InstCombine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122072 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/overflow.ll [new file with mode: 0644]