Philip Reames c0d2319dda Factor out common parts of LVI and Float2Int into ConstantRange [NFCI]
This just extracts out the transfer rules for constant ranges into a single shared point. As it happens, neither bit of code actually overlaps in terms of the handled operators, but with this change that could easily be tweaked in the future.

I also want to have this separated out to make experimenting with a eager value info implementation and possibly a ValueTracking-like fixed depth recursion peephole version. There's no reason all four of these can't share a common implementation which reduces the chances of bugs.

Differential Revision: https://reviews.llvm.org/D27294




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288413 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-01 20:08:47 +00:00
..
2016-11-11 23:58:11 +00:00
2016-11-06 07:48:46 +00:00
2016-11-06 07:48:46 +00:00
2016-05-11 16:38:40 +00:00
2016-04-18 09:17:29 +00:00
2016-11-16 18:09:44 +00:00
2016-04-22 22:24:20 +00:00
2016-10-29 20:57:12 +00:00