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 | 0e8d199f91d2cfca1c8ea7bd3e09a0cd20a2f0e7 (patch) | |
| tree | 52abc3a8002c01b66c6401c2f06e1efcb7db620e /clang/lib/Analysis/GRExprEngine.cpp | |
| parent | 3a888f639e784b63b38b4ceccbb9c1ec35652660 (diff) | |
| download | bcm5719-llvm-0e8d199f91d2cfca1c8ea7bd3e09a0cd20a2f0e7.tar.gz bcm5719-llvm-0e8d199f91d2cfca1c8ea7bd3e09a0cd20a2f0e7.zip | |
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
Diffstat (limited to 'clang/lib/Analysis/GRExprEngine.cpp')
0 files changed, 0 insertions, 0 deletions

