diff options
author | Dan Gohman <gohman@apple.com> | 2009-04-09 03:51:29 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-04-09 03:51:29 +0000 |
commit | 57fc82d409022e793446c1c5d7d6d8b0d7579f83 (patch) | |
tree | 97ab2b8425ae0bcfaf3f82b3d7fd79208f68f716 /lib/CodeGen/MachineModuleInfo.cpp | |
parent | 7d770be047059d624f37c6fb1e5b1d0f2b4961b3 (diff) |
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
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions