Add a testcase where there is an overflow when combining two constants.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 5 Jun 2014 21:29:49 +0000 (21:29 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 5 Jun 2014 21:29:49 +0000 (21:29 +0000)
commit64bcc6d81e8ff51dc0da59ae5df3856fddebc93f
tree47f8f269aae454b015d448afe7e71fcf9a2697b4
parentecbc72405ea7257f726511e4f4409f8ecc0eb426
Add a testcase where there is an overflow when combining two constants.

I noticed that a proposed optimization would have prevented this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210287 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/add2.ll