aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-03-16 03:16:56 +0000
committerAndrew Trick <atrick@apple.com>2012-03-16 03:16:56 +0000
commit070e540a3e7eb67d874444ade78bf007c4764aa5 (patch)
treeedb474c3ec2836744c642ea4a82c34b94669143c /llvm/lib/Analysis/CodeMetrics.cpp
parentfefe0d07ea0db7b19326680cf0644fa0b210feb3 (diff)
downloadllvm-070e540a3e7eb67d874444ade78bf007c4764aa5.zip
llvm-070e540a3e7eb67d874444ade78bf007c4764aa5.tar.gz
llvm-070e540a3e7eb67d874444ade78bf007c4764aa5.tar.bz2
LSR fix: Add isSimplifiedLoopNest to IVUsers analysis.
Only record IVUsers that are dominated by simplified loop headers. Otherwise SCEVExpander will crash while looking for a preheader. I previously tried to work around this in LSR itself, but that was insufficient. This way, LSR can continue to run if some uses are not in simple loops, as long as we don't attempt to analyze those users. Fixes <rdar://problem/11049788> Segmentation fault: 11 in LoopStrengthReduce llvm-svn: 152892
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions