From efbeb4581676dc979df74f716b384166dabb98f3 Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Mon, 26 Sep 2016 02:44:10 +0000 Subject: [PATCH] [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282376 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/ScalarEvolution.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index af23effcaf2..ea7c17db973 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -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)), -- 2.50.1