diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2012-01-20 08:35:20 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2012-01-20 08:35:20 +0000 |
commit | 38b6d9dd22e3989d8d9a1b9916df13b7976a0a85 (patch) | |
tree | 69a1b9827c98d2772f895aef1f7ea3ae11a19900 /lib/Analysis/ScalarEvolution.cpp | |
parent | b5c26ef9da16052597d59a412eaae32098aa1be0 (diff) |
Fix CountCodeReductionForAlloca to more accurately represent what SROA can and
can't handle. Also don't produce non-zero results for things which won't be
transformed by SROA at all just because we saw the loads/stores before we saw
the use of the address.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions