From: David Blaikie Date: Fri, 31 Jul 2015 21:47:04 +0000 (+0000) Subject: Fix a GCC buildbot that seemed to be having trouble producing the implicit move ctor X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=d79f0dd3d40e2350ba307413190023d7a0b3d51a;ds=sidebyside Fix a GCC buildbot that seemed to be having trouble producing the implicit move ctor git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243791 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/DependenceAnalysis.h b/include/llvm/Analysis/DependenceAnalysis.h index 21358bddc21..791305dbfbb 100644 --- a/include/llvm/Analysis/DependenceAnalysis.h +++ b/include/llvm/Analysis/DependenceAnalysis.h @@ -224,6 +224,11 @@ namespace llvm { FullDependence(Instruction *Src, Instruction *Dst, bool LoopIndependent, unsigned Levels); + FullDependence(FullDependence &&RHS) + : Dependence(RHS), Levels(RHS.Levels), + LoopIndependent(RHS.LoopIndependent), Consistent(RHS.Consistent), + DV(std::move(RHS.DV)) {} + /// isLoopIndependent - Returns true if this is a loop-independent /// dependence. bool isLoopIndependent() const override { return LoopIndependent; }