Nick Lewycky a2cb87f86d Thread comparisons over udiv/sdiv/ashr/lshr exact and lshr nuw/nsw whenever
possible. This goes into instcombine and instsimplify because instsimplify
doesn't need to check hasOneUse since it returns (almost exclusively) constants.

This fixes PR9343 #4 #5 and #8!

llvm-svn: 127064
2011-03-05 05:19:11 +00:00
..
2011-01-14 07:46:33 +00:00
2010-09-02 22:38:56 +00:00
2011-02-18 05:05:01 +00:00
2010-08-03 16:19:16 +00:00