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)
commitc286f4bf2a5f9ca263cb9e95a53e5d8ee46f16a1
tree3353b29de688456fd4964404aecf9eb935209afe
parent5798b26c65abd406ff6b70e65eb1d520f5f59215
Add a testcase where there is an overflow when combining two constants.

I noticed that a proposed optimization would have prevented this.

llvm-svn: 210287
llvm/test/Transforms/InstCombine/add2.ll