Revert "Revert "InstCombine: Improvement to check if signed addition overflows.""
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 28 May 2014 21:43:52 +0000 (21:43 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 28 May 2014 21:43:52 +0000 (21:43 +0000)
commitc81cf72ef34bfc846bc9f271f590e8e02e38061b
tree697ee359ec2480718aa00f5782196bdab29faa9b
parent836475b2e2b45d34bcc558497f47a87585157254
Revert "Revert "InstCombine: Improvement to check if signed addition overflows.""

This reverts commit r209762, bringing back r209746. It was not responsible for the libc++ build failure

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