[llvm] r243791 - Fix a GCC buildbot that seemed to be having trouble producing the implicit move ctor
David Blaikie
dblaikie at gmail.com
Fri Jul 31 14:47:04 PDT 2015
Author: dblaikie
Date: Fri Jul 31 16:47:04 2015
New Revision: 243791
URL: http://llvm.org/viewvc/llvm-project?rev=243791&view=rev
Log:
Fix a GCC buildbot that seemed to be having trouble producing the implicit move ctor
Modified:
llvm/trunk/include/llvm/Analysis/DependenceAnalysis.h
Modified: llvm/trunk/include/llvm/Analysis/DependenceAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/DependenceAnalysis.h?rev=243791&r1=243790&r2=243791&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/DependenceAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/DependenceAnalysis.h Fri Jul 31 16:47:04 2015
@@ -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; }
More information about the llvm-commits
mailing list