commit | 646e047765a2d4c38555550fddde66d1e003aece | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Apr 12 07:39:33 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Apr 12 07:39:33 2010 +0000 |
tree | a56f5b51f98a152dfeb52d4d52f70911322e8278 | |
parent | dd842e34c8e133e3d36418c0d351034db52a05a7 [diff] |
Rewrite the overflow checking in the get{Signed,Unsigned}Range code for AddRecs so that it checks for overflow in the computation that it is performing, rather than just checking hasNo{Signed,Unsigned}Wrap, since those flags are for a different computation. This fixes a bug that impacts an upcoming change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101028 91177308-0d34-0410-b5e6-96231b3b80d8