[PATCH] D21636: [PM] LoopAccessInfo Refactor #2
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 23 00:44:48 PDT 2016
majnemer added a subscriber: majnemer.
================
Comment at: include/llvm/Analysis/LoopAccessAnalysis.h:530
@@ +529,3 @@
+ LoopAccessInfo &operator=(LoopAccessInfo &&LAI) {
+ if (this == &LAI)
+ return *this;
----------------
sanjoy wrote:
> This looks strange -- when will this check be true?
Self assignment.
http://reviews.llvm.org/D21636
More information about the llvm-commits
mailing list