Dan Gohman 68de98eef3 Generalize ExtendUsesToFormExtLoad to be usable for ANY_EXTEND,
in addition to ZERO_EXTEND and SIGN_EXTEND. Fix a bug in the
way it checked for live-out values, and simplify the way it
find users by using SDNode::use_iterator's (relatively) new
features. Also, make it slightly more permissive on targets
with free truncates.

In SelectionDAGBuild, avoid creating ANY_EXTEND nodes that are
larger than necessary. If the target's SwitchAmountTy has
enough bits, use it. This exposes the truncate to optimization
early, enabling more optimizations.

llvm-svn: 68670
2009-04-09 03:51:29 +00:00
..
2009-03-25 16:43:59 +00:00
2009-02-09 09:41:49 +00:00
2009-03-24 21:36:09 +00:00
2009-03-21 18:12:24 +00:00
2009-03-06 17:59:58 +00:00
2009-03-21 18:12:24 +00:00
2008-07-28 18:41:03 +00:00