[PATCH] D21636: [PM] LoopAccessInfo Refactor #2

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 16:14:41 PDT 2016


silvas added a comment.

Quick comment to avoid a buildbot issue.


================
Comment at: include/llvm/Analysis/LoopAccessAnalysis.h:518
@@ -517,1 +517,3 @@
 
+  LoopAccessInfo(LoopAccessInfo &&LAI) = default;
+  LoopAccessInfo &operator=(LoopAccessInfo &&LAI) = default;
----------------
The issue with MSVC is actually that it can't synthesize this, so `= default` doesn't help unfortunately. You have to manually write out the entire move ctor like you had it. Just make sure to add a comment " // Hack for MSVC 2013 which seems like it can't synthesize this." or similar.


http://reviews.llvm.org/D21636





More information about the llvm-commits mailing list