[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.

llvm-svn: 282376
This commit is contained in:
Sanjoy Das 2016-09-26 02:44:10 +00:00
parent 5603fc00a6
commit 5cb11b6423
1 changed files with 1 additions and 0 deletions

View File

@ -9586,6 +9586,7 @@ ScalarEvolution::ScalarEvolution(ScalarEvolution &&Arg)
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)),