summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/AliasSetTracker.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-05-07 16:28:17 +0000
committerCraig Topper <craig.topper@gmail.com>2017-05-07 16:28:17 +0000
commit252682a41bcb7d3c100aaf2f2fb21c7895714773 (patch)
treeadaa9d059460d7784b3e05fb574fb1cbff7eea89 /llvm/lib/Analysis/AliasSetTracker.cpp
parent599e65b1ff51d4f92ebf68696adb0955788db051 (diff)
downloadbcm5719-llvm-252682a41bcb7d3c100aaf2f2fb21c7895714773.tar.gz
bcm5719-llvm-252682a41bcb7d3c100aaf2f2fb21c7895714773.zip
[SCEV] Use move semantics in ScalarEvolution::setRange
Summary: This makes setRange take ConstantRange by rvalue reference since most callers were passing an unnamed temporary ConstantRange. We can then move that ConstantRange into the DenseMap caches. For the callers that weren't passing a temporary, I've added std::move to to the local variable being passed. Reviewers: sanjoy, mzolotukhin, efriedma Reviewed By: sanjoy Subscribers: takuto.ikuta, llvm-commits Differential Revision: https://reviews.llvm.org/D32943 llvm-svn: 302371
Diffstat (limited to 'llvm/lib/Analysis/AliasSetTracker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud