summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-07-31 21:47:04 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-07-31 21:47:04 +0000
commitec61aa1c1088195c699bb88c2dbe02d28f830d80 (patch)
tree9f5c5732bacd6b9825e0944ac049e54252a0298c
parentcf70053b2066d0bb647aec91f6fe5934f5b48d5e (diff)
downloadbcm5719-llvm-ec61aa1c1088195c699bb88c2dbe02d28f830d80.tar.gz
bcm5719-llvm-ec61aa1c1088195c699bb88c2dbe02d28f830d80.zip
Fix a GCC buildbot that seemed to be having trouble producing the implicit move ctor
llvm-svn: 243791
-rw-r--r--llvm/include/llvm/Analysis/DependenceAnalysis.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/DependenceAnalysis.h b/llvm/include/llvm/Analysis/DependenceAnalysis.h
index 21358bddc21..791305dbfbb 100644
--- a/llvm/include/llvm/Analysis/DependenceAnalysis.h
+++ b/llvm/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; }
OpenPOWER on IntegriCloud