llvm-6502/test/CodeGen
Dan Gohman 57fc82d409 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68670 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-09 03:51:29 +00:00
..
Alpha
ARM Add testcase for PR3795. 2009-04-08 18:00:55 +00:00
CBackend
CellSPU Revert 67132. This is breaking some objective-c apps. 2009-03-25 20:20:11 +00:00
CPP
Generic Fix PR3899: add support for extracting floats from vectors 2009-03-29 13:51:06 +00:00
IA64
Mips
PowerPC Fix this test so that it doesn't spuriously fail due to some 2009-03-27 16:17:22 +00:00
SPARC
X86 Generalize ExtendUsesToFormExtLoad to be usable for ANY_EXTEND, 2009-04-09 03:51:29 +00:00
XCore