Skip to content
Commit f76210ea authored by Dan Gohman's avatar Dan Gohman
Browse files

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.

llvm-svn: 101028
parent 15f90c29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment