summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CodeMetrics.cpp
diff options
context:
space:
mode:
authorGeoff Berry <gberry@codeaurora.org>2016-08-11 21:05:17 +0000
committerGeoff Berry <gberry@codeaurora.org>2016-08-11 21:05:17 +0000
commitd01828096f1660ae3641d2a345fe0b026acda2c9 (patch)
tree4a14f2ea454373775305a2785ae1725d9034d04a /llvm/lib/Analysis/CodeMetrics.cpp
parentcb7d83c048c2ef7ce25bd4eb6bb9197ab6533cc4 (diff)
downloadbcm5719-llvm-d01828096f1660ae3641d2a345fe0b026acda2c9.tar.gz
bcm5719-llvm-d01828096f1660ae3641d2a345fe0b026acda2c9.zip
[SCEV] Update interface to handle SCEVExpander insert point motion.
Summary: This is an extension of the fix in r271424. That fix dealt with builder insert points being moved by SCEV expansion, but only for the lifetime of the expand call. This change modifies the interface so that LSR can safely call expand multiple times at the same insert point and do the right thing if one of the expansions decides to move the original insert point. This is a fix for PR28719. Reviewers: sanjoy Subscribers: llvm-commits, mcrosier, mzolotukhin Differential Revision: https://reviews.llvm.org/D23342 llvm-svn: 278413
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud