[llvm] r282376 - [SCEV] Assign LoopPropertiesCache in the move constructor
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 25 19:44:10 PDT 2016
Author: sanjoy
Date: Sun Sep 25 21:44:10 2016
New Revision: 282376
URL: http://llvm.org/viewvc/llvm-project?rev=282376&view=rev
Log:
[SCEV] Assign LoopPropertiesCache in the move constructor
In a previous change I collapsed two different caches into one. When
doing that I noticed that ScalarEvolution's move constructor was not
moving those caches.
To keep the previous change simple, I've moved that bugfix into this
separate change.
Modified:
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=282376&r1=282375&r2=282376&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Sun Sep 25 21:44:10 2016
@@ -9586,6 +9586,7 @@ ScalarEvolution::ScalarEvolution(ScalarE
ValuesAtScopes(std::move(Arg.ValuesAtScopes)),
LoopDispositions(std::move(Arg.LoopDispositions)),
BlockDispositions(std::move(Arg.BlockDispositions)),
+ LoopPropertiesCache(std::move(Arg.LoopPropertiesCache)),
UnsignedRanges(std::move(Arg.UnsignedRanges)),
SignedRanges(std::move(Arg.SignedRanges)),
UniqueSCEVs(std::move(Arg.UniqueSCEVs)),
More information about the llvm-commits
mailing list