Evan Cheng b0a193db31 - Teach LSR to avoid changing cmp iv stride if it will create an immediate that
cannot be folded into target cmp instruction.
- Avoid a phase ordering issue where early cmp optimization would prevent the
  later count-to-zero optimization.
- Add missing checks which could cause LSR to reuse stride that does not have
  users.
- Fix a bug in count-to-zero optimization code which failed to find the pre-inc
  iv's phi node.
- Remove, tighten, loosen some incorrect checks disable valid transformations.
- Quite a bit of code clean up.

llvm-svn: 86969
2009-11-12 07:35:05 +00:00
..
2009-10-13 20:45:18 +00:00
2009-09-05 11:34:46 +00:00
2009-11-08 09:07:42 +00:00
2009-10-16 16:30:02 +00:00
2009-10-24 20:32:36 +00:00
2009-08-25 15:38:29 +00:00
2009-08-25 15:38:29 +00:00