Nick Lewycky 70d50ee8fb Support pointer comparisons against constants, when looking at the inline-cost
savings from a pointer argument becoming an alloca. Sometimes callees will even
compare a pointer to null and then branch to an otherwise unreachable block!
Detect these cases and compute the number of saved instructions, instead of
bailing out and reporting no savings.

llvm-svn: 148941
2012-01-25 08:27:40 +00:00
..
2011-09-01 01:08:21 +00:00
2011-09-01 01:08:21 +00:00
2011-09-02 01:25:11 +00:00
2011-09-01 01:08:21 +00:00
2011-09-01 01:08:21 +00:00
2011-09-01 01:08:21 +00:00