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)
commit6196b7430e141d06e69f15613f26b9d8feecb911
treee3c383351df4d3236644939b07e351e5ab5884e7
parent910528a3eb635223c519fef3e5833a67cffc8232
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

llvm-svn: 209776
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/test/Transforms/InstCombine/AddOverflow.ll [new file with mode: 0644]